Changes

From Amahi Wiki
Jump to: navigation, search
138 bytes removed ,  22:30, 3 April 2014
Install autofs
{{Code|Code= yum install autofs}}
Need VFAT for the big USB Disk or the large files on it:
{{Code|Code= ​yum install fuse fuse-ntfs-3g}}
Setup the autofs by edit master settings
Add one (or more) line for the USB disk /var/hda/vol /etc/auto.vol --timeout=3
{{Code|Code= nano /etc/auto.master}}
<pre>
# Sample auto.master file
Add the directory by
{{Code|Code= ​mkdir /var/hda/vol ; chmod 775 /var/hd}}
Then add the auto.vol file:
{{Code|Code= ​nano /etc/auto.vol}}
<pre>
#
Now restart autofs and then all is GO
{{Code|Code= ​service autofs restart}}
Create the symlinks
{{Code|Code= ​ln -s /var/hda/vol /var/hda/files/Disks}}
Make browse active by edit the file autofs
{{Code|Code= ​nano /etc/sysconfig/autofs}}
Change line BROWSE_MODE="no" to BROWSE_MODE="yes"
That is all, but for more see:
http://www.autofs.org/autofs-man.html
 
[[User:Nalleju|Nalleju]]
== Use USB Disks or Sticks on Ubuntu Server ==
12,424

edits