Changes

From Amahi Wiki
Jump to: navigation, search
321 bytes removed ,  03:07, 13 December 2014
Then add , '''with appropriate changes to your partitions''' the auto.vol file:
​nano /etc/auto.vol
# mountpoint_key options location_device # man 5 autofs
#
cdrom -fstype=auto,ro,nosuid,nodev,user :/dev/cdrom # the cd rom
#floppy -fstype=auto,nosuid,nodev,noexec,user,gid=100,umask=000 :/dev/fd0
K -fstype=auto,nosuid,nodev,noexec,user,gid=100,umask=000 :/dev/sdk1
K.2 -fstype=auto,nosuid,nodev,noexec,user,gid=100,umask=000 :dev/sdk2 #2nd partition
K.3 -fstype=auto,nosuid,nodev,noexec,user,gid=100,umask=000 :dev/sdk3 #3d partition
L -fstype=auto,nosuid,nodev,noexec,user,gid=100,umask=000 :/dev/sdl1M -fstype=auto,nosuid,nodev,noexec,user,gid=100,umask=000 :/dev/sdm1N -fstype=auto,nosuid,nodev,noexec,user,gid=100,umask=000 :/dev/sdn1O -fstype=auto,nosuid,nodev,noexec,user,gid=100,umask=000 :/dev/sdo1G -fstype=auto,nosuid,nodev,noexec,user,gid=100,umask=000 :/dev/sdgH -fstype=auto,nosuid,nodev,noexec,user,gid=100,umask=000 :/dev/sdhI -fstype=auto,nosuid,nodev,noexec,user,gid=100,umask=000 :/dev/sdiJ -fstype=auto,nosuid,nodev,noexec,user,gid=100,umask=000 :/dev/sdj# some other drive
</pre>
Now restart Make browse active by edit the file autofs and then all is GO
​service ​nano /etc/sysconfig/autofs restart
Create the symlinksChange line BROWSE_MODE="no" to BROWSE_MODE="yes"
​ln -s /var/hda/vol /var/hda/files/DisksNow restart and permanently enable autofs and then all should be good to go:
Make browse active by edit the file systemctl restart autofs systemctl enable autofs
​nano /etc/sysconfig/autofsCreate a share and add symlinks from it to the newly set up drive
Change line BROWSE_MODE="no" to BROWSE_MODE="yes" ​ln -s /var/hda/vol /var/hda/files/Disks
That is all, but for more see:
http://www.autofs.org/autofs-man.html
Trusted, Bots, Bureaucrats, emailconfirmed, Administrators
3,789

edits