peter@dalton:~$ # Flash storage not yet connected. peter@dalton:~$ ls -l /dev/San* ls: cannot access /dev/San*: No such file or directory
peter@dalton:~$ tail -n8 /etc/udev/rules.d/10*rules # A SanDisk 512 MB CF card. Two VFATs. KERNEL=="sd?", ATTR{size}=="1000944", SYMLINK+="SanDiskCF", \ OWNER="peter", GROUP="users" KERNEL=="sd?1", ATTR{size}=="205569", SYMLINK+="SanDiskCF1", \ OWNER="peter", GROUP="users" KERNEL=="sd?2", ATTR{size}=="795312", SYMLINK+="SanDiskCF2", \ OWNER="peter", GROUP="users" peter@dalton:~$ # Insert the card. peter@dalton:~$ ls -l /dev/San* lrwxrwxrwx 1 root root 3 Jun 24 19:56 /dev/SanDiskCF -> sdb lrwxrwxrwx 1 root root 4 Jun 24 19:56 /dev/SanDiskCF1 -> sdb1 lrwxrwxrwx 1 root root 4 Jun 24 19:56 /dev/SanDiskCF2 -> sdb2 peter@dalton:~$ ls -l /dev/sdb* brw-rw---T 1 peter floppy 8, 16 Jun 24 19:56 /dev/sdb brw-rw---T 1 peter floppy 8, 17 Jun 24 19:56 /dev/sdb1 brw-rw---T 1 peter floppy 8, 18 Jun 24 19:56 /dev/sdb2 peter@dalton:~$ tail -n2 /etc/fstab /dev/SanDiskCF1 /home/peter/DOS vfat defaults,noauto,user 0 0 /dev/SanDiskCF2 /home/peter/Work vfat defaults,noauto,user 0 0 peter@dalton:~$ mount | grep vfat /dev/sdb1 on /home/peter/DOS type vfat (rw,nosuid,nodev,noexec,relatime,uid=1000 ,fmask=0022,dmask=0022,codepage=cp437,iocharset=utf8,shortname=mixed,errors=remo unt-ro,user=peter) /dev/sdb2 on /home/peter/Work type vfat (rw,nosuid,nodev,noexec,relatime,uid=100 0,fmask=0022,dmask=0022,codepage=cp437,iocharset=utf8,shortname=mixed,errors=rem ount-ro,user=peter) So /dev/SanDiskCF* are owned by a user. Nevertheless /dev/sdb{1,2} are owned by root and are automounted. Is there a better way of preventing the automounting than by adding entries to fstab? /dev/sdb1 /nowhere auto noauto 0 0 /dev/sdb2 /nowhere auto noauto 0 0 /dev/sdc1 /nowhere auto noauto 0 0 ... Thanks, ... Peter E. -- 123456789 123456789 123456789 123456789 123456789 123456789 123456789 12 Tel +13606390202 Bcc: peasthope at shaw.ca http://carnot.yi.org/ "http://members.shaw.ca/peasthope/index.html#Itinerary " -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/171058072.88427.52796@cantor.invalid