Difference between revisions of "Talk:USBDisks"

From SME Server
Jump to navigationJump to search
(automount USB Disk)
Line 11: Line 11:
  
 
automount USB Disk, Draft instructions, <br>
 
automount USB Disk, Draft instructions, <br>
the best location to mount and best mount options needs to be decided
+
the best location to mount and best mount options need to be decided
  
 
refer http://arstechnica.com/articles/columns/linux/linux-20040211.ars bottom of page.
 
refer http://arstechnica.com/articles/columns/linux/linux-20040211.ars bottom of page.
Line 28: Line 28:
 
   
 
   
 
  mkdir -p /var/autofs/removable  
 
  mkdir -p /var/autofs/removable  
 
+
 
  /etc/init.d/autofs restart
 
  /etc/init.d/autofs restart
 
   
 
   
  ll /mnt/autofs/removable/MaxVfat/
+
  ll /var/autofs/removable/MaxVfat/
 
  -rwxrwxr-x  1 smelog smelog  79811 Oct 25 23:04 fuse-2.6.3-3.EL4.i686.rpm
 
  -rwxrwxr-x  1 smelog smelog  79811 Oct 25 23:04 fuse-2.6.3-3.EL4.i686.rpm
 
   
 
   
  ll /mnt/autofs/removable/cdrom
+
  ll /var/autofs/removable/cdrom
 
  dr-xr-xr-x    3 root root  2048 Jun 17 12:11 home
 
  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
 
  dr-xr-xr-x  618 root root 77824 Oct 25 05:04 rr_moved
 
   
 
   
   ll /mnt/autofs/removable/MaxExt3
+
   ll /var/autofs/removable/MaxExt3
 
  -rw-r--r--  1 root root    10 Oct 26 00:58 join
 
  -rw-r--r--  1 root root    10 Oct 26 00:58 join
 +
 +
[[User:Snoble|Snoble]] 09:03, 25 October 2007 (MDT)

Revision as of 16:03, 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 need 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 /var/autofs/removable/MaxVfat/
-rwxrwxr-x  1 smelog smelog  79811 Oct 25 23:04 fuse-2.6.3-3.EL4.i686.rpm

ll /var/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 /var/autofs/removable/MaxExt3
-rw-r--r--  1 root root     10 Oct 26 00:58 join

Snoble 09:03, 25 October 2007 (MDT)