Automount NTFS/HFS+ on Dockstar Debian February 19, 2011 04:00PM |
Admin Registered: 13 years ago Posts: 18,580 |
Re: Automount NTFS on Dockstar Debian February 19, 2011 10:50PM |
Registered: 13 years ago Posts: 15 |
Re: Automount NTFS on Dockstar Debian February 20, 2011 01:19AM |
Admin Registered: 13 years ago Posts: 18,580 |
Re: Automount NTFS on Dockstar Debian February 23, 2011 12:43AM |
Admin Registered: 13 years ago Posts: 18,580 |
# mount -t auto /dev/sda3 /usb/testdir # mount -t auto /dev/sdb1 /usb/testdir2 # df Filesystem 1K-blocks Used Available Use% Mounted on rootfs 2065680 506672 1454164 26% / none 60420 48 60372 1% /dev /dev/sda1 2065680 506672 1454164 26% / tmpfs 62864 0 62864 0% /lib/init/rw tmpfs 62864 0 62864 0% /dev/shm tmpfs 62864 0 62864 0% /tmp /dev/sda3 818616 836 776196 1% /usb/testdir /dev/sdb1 3905504 22168 3883336 1% /usb/testdir2 # mount rootfs on / type rootfs (rw) none on /sys type sysfs (rw,nosuid,nodev,noexec,relatime) none on /proc type proc (rw,nosuid,nodev,noexec,relatime) none on /dev type devtmpfs (rw,relatime,size=60420k,nr_inodes=15105,mode=755) none on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000) /dev/sda1 on / type ext2 (rw,noatime,errors=remount-ro) tmpfs on /lib/init/rw type tmpfs (rw,nosuid,relatime,mode=755) tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev,relatime) tmpfs on /tmp type tmpfs (rw,relatime) fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime) /etc/auto.usb on /mnt/usb type autofs (rw,relatime,fd=6,pgrp=24155,timeout=10,minproto=5,maxproto=5,indirect) /dev/sda3 on /usb/testdir type ext2 (rw,relatime,errors=continue) /dev/sdb1 on /usb/testdir2 type fuseblk (rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
Re: Automount NTFS on Dockstar Debian February 25, 2011 10:29PM |
Registered: 13 years ago Posts: 161 |
Re: Automount NTFS on Dockstar Debian February 25, 2011 11:11PM |
Admin Registered: 13 years ago Posts: 18,580 |
Re: Automount NTFS on Dockstar Debian February 26, 2011 09:24AM |
Registered: 13 years ago Posts: 161 |
Re: Automount NTFS on Dockstar Debian February 26, 2011 09:33AM |
Registered: 13 years ago Posts: 161 |
Re: Automount NTFS on Dockstar Debian February 26, 2011 04:20PM |
Admin Registered: 13 years ago Posts: 18,580 |
Re: Automount NTFS on Dockstar Debian February 26, 2011 06:23PM |
Admin Registered: 13 years ago Posts: 18,580 |
Re: Automount NTFS on Dockstar Debian February 27, 2011 08:28PM |
Registered: 13 years ago Posts: 161 |
Re: Automount NTFS on Dockstar Debian February 28, 2011 01:42AM |
Admin Registered: 13 years ago Posts: 18,580 |
Re: Automount NTFS on Dockstar Debian February 28, 2011 07:22PM |
Registered: 13 years ago Posts: 161 |
Re: Automount NTFS on Dockstar Debian March 01, 2011 12:18AM |
Admin Registered: 13 years ago Posts: 18,580 |
Re: Automount NTFS on Dockstar Debian March 01, 2011 06:46PM |
Registered: 13 years ago Posts: 161 |
Re: Automount NTFS on Dockstar Debian March 01, 2011 08:47PM |
Admin Registered: 13 years ago Posts: 18,580 |
Re: Automount NTFS on Dockstar Debian March 02, 2011 06:40PM |
Registered: 13 years ago Posts: 161 |
Re: Automount NTFS on Dockstar Debian March 03, 2011 01:00AM |
Admin Registered: 13 years ago Posts: 18,580 |
Re: Automount NTFS on Dockstar Debian March 03, 2011 04:34PM |
Admin Registered: 13 years ago Posts: 18,580 |
... # Filesystem types: removable storage devices are only mounted if they # contain a filesystem type which is in this list. FILESYSTEMS="vfat ext2 ext3 ext4 hfsplus" ...
Re: Automount NTFS on Dockstar Debian March 04, 2011 04:30PM |
Admin Registered: 13 years ago Posts: 18,580 |
[ 475.688583] UDF-fs: No anchor found [ 475.692094] UDF-fs: Rescanning with blocksize 2048 [ 475.787084] UDF-fs: No anchor found [ 475.790595] UDF-fs: No partition found (1) [ 475.861078] ISOFS: Unable to identify CD-ROM format. [ 475.913601] FAT: bogus number of reserved sectors [ 475.918376] VFS: Can't find a valid FAT filesystem on dev sda. [ 475.964206] hfs: unable to find HFS+ superblock [ 476.003709] hfs: can't find a HFS filesystem on dev sda. [ 476.092981] VFS: Can't find ext3 filesystem on dev sda. [ 476.105105] VFS: Can't find an ext2 filesystem on dev sda. [ 476.229735] EXT4-fs (sda): VFS: Can't find ext4 filesystem [ 476.286213] REISERFS warning (device sda): sh-2021 reiserfs_fill_super: can not find reiserfs on sda [ 476.390080] SGI XFS with ACLs, security attributes, realtime, large block/inode numbers, no debug enabled [ 476.404420] SGI XFS Quota Management subsystem [ 476.410363] XFS: bad magic number [ 476.413701] XFS: SB validate failed [ 476.456382] JFS: nTxBlock = 982, nTxLock = 7858 [ 476.485477] omfs: Invalid superblock (0)
Re: Automount NTFS on Dockstar Debian March 05, 2011 10:06AM |
Registered: 13 years ago Posts: 161 |
Re: Automount NTFS on Dockstar Debian March 05, 2011 04:02PM |
Admin Registered: 13 years ago Posts: 18,580 |
Re: Automount NTFS on Dockstar Debian March 05, 2011 08:21PM |
Registered: 13 years ago Posts: 161 |
Re: Automount NTFS on Dockstar Debian March 05, 2011 10:19PM |
Admin Registered: 13 years ago Posts: 18,580 |
Re: Automount NTFS on Dockstar Debian March 05, 2011 11:58PM |
Registered: 13 years ago Posts: 1 |
Re: Automount NTFS on Dockstar Debian March 06, 2011 01:09AM |
Admin Registered: 13 years ago Posts: 18,580 |
Re: Automount NTFS on Dockstar Debian March 06, 2011 08:02AM |
Registered: 13 years ago Posts: 161 |
Re: Automount NTFS on Dockstar Debian March 06, 2011 04:12PM |
Admin Registered: 13 years ago Posts: 18,580 |
Re: Automount NTFS on Dockstar Debian March 06, 2011 06:17PM |
Registered: 13 years ago Posts: 161 |
root@debian:~# cat /etc/udev/rules.d/90-automount.rules # --sync to allow removal without corruption KERNEL!="sd*", GOTO="media_label_end" ENV{ID_USB_DRIVER}!="usb-storage", GOTO="media_label_end" IMPORT{program}="/sbin/blkid -o udev -p %N", ENV{name}="%E{ID_FS_LABEL}" ENV{name}=="", ENV{name}="%k" ACTION=="add", RUN+="/usr/bin/pmount -t %E{ID_FS_TYPE} --sync --noatime --umask 000 %k %E{name}" ACTION=="remove", RUN+="/usr/bin/pumount %E{name}" LABEL="media_label_end"
root@debian:~# logread -f Mar 6 18:58:00 debian user.info kernel: [597062.809217] usb 1-1.2: new high speed USB device using orion-ehci and address 19 Mar 6 18:58:00 debian user.info kernel: [597062.920182] usb 1-1.2: New USB device found, idVendor=13fd, idProduct=1340 Mar 6 18:58:00 debian user.info kernel: [597062.927176] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3 Mar 6 18:58:00 debian user.info kernel: [597062.934624] usb 1-1.2: Product: ST2000DL003-9VT1 Mar 6 18:58:00 debian user.info kernel: [597062.939383] usb 1-1.2: Manufacturer: FANTOM Mar 6 18:58:00 debian user.info kernel: [597062.943847] usb 1-1.2: SerialNumber: 355944314C42343020202020 Mar 6 18:58:00 debian user.info kernel: [597062.952204] usb 1-1.2: configuration #1 chosen from 1 choice Mar 6 18:58:00 debian user.info kernel: [597062.961929] scsi16 : SCSI emulation for USB Mass Storage devices Mar 6 18:58:01 debian user.debug kernel: [597062.974929] usb-storage: device found at 19 Mar 6 18:58:01 debian user.debug kernel: [597062.974940] usb-storage: waiting for device to settle before scanning Mar 6 18:58:06 debian user.debug kernel: [597067.969219] usb-storage: device scan complete Mar 6 18:58:06 debian user.notice kernel: [597067.969884] scsi 16:0:0:0: Direct-Access FANTOM ST2000DL003-9VT1 2.10 PQ: 0 ANSI: 4 Mar 6 18:58:06 debian user.notice kernel: [597067.982854] sd 16:0:0:0: [sda] 3907029168 512-byte logical blocks: (2.00 TB/1.81 TiB) Mar 6 18:58:06 debian user.notice kernel: [597068.001595] sd 16:0:0:0: [sda] Write Protect is off Mar 6 18:58:06 debian user.debug kernel: [597068.006586] sd 16:0:0:0: [sda] Mode Sense: 21 00 00 00 Mar 6 18:58:06 debian user.err kernel: [597068.006595] sd 16:0:0:0: [sda] Assuming drive cache: write through Mar 6 18:58:06 debian user.err kernel: [597068.014820] sd 16:0:0:0: [sda] Assuming drive cache: write through Mar 6 18:58:06 debian user.info kernel: [597068.021308] sda: Mar 6 18:58:06 debian user.info kernel: sda1 Mar 6 18:58:06 debian user.err kernel: [597068.052470] sd 16:0:0:0: [sda] Assuming drive cache: write through Mar 6 18:58:06 debian user.notice kernel: [597068.058775] sd 16:0:0:0: [sda] Attached SCSI disk Mar 6 18:58:08 debian daemon.notice ntfs-3g[3178]: Version 2010.3.6 integrated FUSE 27 Mar 6 18:58:08 debian daemon.notice ntfs-3g[3178]: Mounted /dev/sda1 (Read-Write, label "FantomHD", NTFS 3.1) Mar 6 18:58:08 debian daemon.notice ntfs-3g[3178]: Cmdline options: rw,noexec,nosuid,nodev,sync,user,noatime,uid=0,gid=0,umask=000 Mar 6 18:58:08 debian daemon.notice ntfs-3g[3178]: Mount options: rw,noexec,nosuid,nodev,sync,user,silent,allow_other,nonempty,noatime,fsname=/dev/sda1,blkdev,blksize=4096,default_permissions Mar 6 18:58:08 debian daemon.notice ntfs-3g[3178]: Global ownership and permissions enforced, configuration type 1
Re: Automount NTFS on Dockstar Debian March 06, 2011 07:49PM |
Admin Registered: 13 years ago Posts: 18,580 |