Difference between revisions of "Talk:USBDisks"

From SME Server
Jump to navigationJump to search
(ntfs support)
 
(automount USB Disk)
Line 8: Line 8:
  
 
[[User:Snoble|Snoble]] 08:17, 25 October 2007 (MDT)
 
[[User:Snoble|Snoble]] 08:17, 25 October 2007 (MDT)
 +
 +
 +
automount USB Disk, Draft instructions, <br>
 +
the best location to mount and best mount options needs to be decided
 +
 +
refer http://arstechnica.com/articles/columns/linux/linux-20040211.ars bottom of page.
 +
yum install autofs
 +
 +
nano -w /etc/auto.master
 +
add
 +
/var/autofs/removable  /etc/auto.removable    --timeout=5
 +
 +
nano -w /etc/auto.removable
 +
add
 +
cdrom    -fstype=iso9660,ro,sync,nodev,nosuid      :/dev/cdrom
 +
floppy    -fstype=auto,sync,nodev,nosuid            :/dev/fd0
 +
MaxExt3  -fstype=ext3,defaults                    :/dev/sda1
 +
MaxVfat  -fstype=vfat,uid=1002,gid=1002,umask=002  :/dev/sda2
 +
 +
mkdir -p /var/autofs/removable
 +
 +
/etc/init.d/autofs restart
 +
 +
ll /mnt/autofs/removable/MaxVfat/
 +
-rwxrwxr-x  1 smelog smelog  79811 Oct 25 23:04 fuse-2.6.3-3.EL4.i686.rpm
 +
 +
ll /mnt/autofs/removable/cdrom
 +
dr-xr-xr-x    3 root root  2048 Jun 17 12:11 home
 +
dr-xr-xr-x  618 root root 77824 Oct 25 05:04 rr_moved
 +
 +
  ll /mnt/autofs/removable/MaxExt3
 +
-rw-r--r--  1 root root    10 Oct 26 00:58 join

Revision as of 17:02, 25 October 2007

support for ntfs does exist,
http://www.ntfs-3g.org/
http://marush.com/category/linux/rpm/rhel4/

But it may be simpler after we reach kernel 2.6.12 when FUSE support is included in the kernel.
If ntfs is going to fail everytime a kernel is upgraded it's too much hassle
http://fuse.sourceforge.net/wiki/index.php/OperatingSystems

Snoble 08:17, 25 October 2007 (MDT)


automount USB Disk, Draft instructions,
the best location to mount and best mount options needs to be decided

refer http://arstechnica.com/articles/columns/linux/linux-20040211.ars bottom of page.

yum install autofs

nano -w /etc/auto.master
add 
/var/autofs/removable   /etc/auto.removable     --timeout=5

nano -w /etc/auto.removable
add
cdrom     -fstype=iso9660,ro,sync,nodev,nosuid      :/dev/cdrom
floppy    -fstype=auto,sync,nodev,nosuid            :/dev/fd0
MaxExt3   -fstype=ext3,defaults                     :/dev/sda1
MaxVfat   -fstype=vfat,uid=1002,gid=1002,umask=002  :/dev/sda2

mkdir -p /var/autofs/removable 
/etc/init.d/autofs restart

ll /mnt/autofs/removable/MaxVfat/
-rwxrwxr-x  1 smelog smelog  79811 Oct 25 23:04 fuse-2.6.3-3.EL4.i686.rpm

ll /mnt/autofs/removable/cdrom
dr-xr-xr-x    3 root root  2048 Jun 17 12:11 home
dr-xr-xr-x  618 root root 77824 Oct 25 05:04 rr_moved

 ll /mnt/autofs/removable/MaxExt3
-rw-r--r--  1 root root     10 Oct 26 00:58 join