addition at bottom :-
On 7/8/15, jean-marc montanier <[email protected]> wrote:
> Hi,
>
> Just a quick message to report that the nasty workaround is anyway
> efficient. It's working on my Jessie, thanks.
>
> If udisks2 is covering the functionalities of usbmount and has an active
> development, may be the usbmount package should be removed from the future
> versions of debian ?
>
> Jean-Marc
Hi all,
What I ended up doing was getting both usbmount and pmount purged from
the system and just use udisks2.
This is the way I use it :-
Before usb disk insertion :-
[$] lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 931.5G 0 disk
├─sda1 8:1 0 48.8G 0 part
├─sda2 8:2 0 1K 0 part
├─sda5 8:5 0 48.8G 0 part
├─sda6 8:6 0 186.3G 0 part /
├─sda7 8:7 0 93.1G 0 part /home
├─sda8 8:8 0 549.5G 0 part /data
└─sda9 8:9 0 5G 0 part [SWAP]
sr0 11:0 1 1024M 0 rom
After insertion :-
[$] lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 931.5G 0 disk
├─sda1 8:1 0 48.8G 0 part
├─sda2 8:2 0 1K 0 part
├─sda5 8:5 0 48.8G 0 part
├─sda6 8:6 0 186.3G 0 part /
├─sda7 8:7 0 93.1G 0 part /home
├─sda8 8:8 0 549.5G 0 part /data
└─sda9 8:9 0 5G 0 part [SWAP]
sdb 8:16 1 3.8G 0 disk
└─sdb1 8:17 1 3.8G 0 part
sr0 11:0 1 1024M 0 rom
[$] mount | grep /dev/sd
/dev/sda6 on / type ext4 (rw,relatime,errors=remount-ro,data=ordered)
/dev/sda8 on /data type ext4 (rw,relatime,data=ordered)
/dev/sda7 on /home type ext4 (rw,relatime,data=ordered)
[$] udisksctl mount -b /dev/sdb1
Mounted /dev/sdb1 at /media/shirish/shirish.
[$] mount | grep /dev/sd
/dev/sda6 on / type ext4 (rw,relatime,errors=remount-ro,data=ordered)
/dev/sda8 on /data type ext4 (rw,relatime,data=ordered)
/dev/sda7 on /home type ext4 (rw,relatime,data=ordered)
/dev/sdb1 on /media/shirish/shirish type vfat
(rw,nosuid,nodev,relatime,uid=1000,gid=1000,fmask=0022,dmask=0022,codepage=437,iocharset=utf8,shortname=mixed,showexec,utf8,flush,errors=remount-ro,uhelper=udisks2)
And unmounting :-
[$] udisksctl unmount -b /dev/sdb1
Unmounted /dev/sdb1.
[$] mount | grep /dev/sd
/dev/sda6 on / type ext4 (rw,relatime,errors=remount-ro,data=ordered)
/dev/sda8 on /data type ext4 (rw,relatime,data=ordered)
/dev/sda7 on /home type ext4 (rw,relatime,data=ordered)
because auto-mounting doesn't work :( .
For the above to work user has to be part of plugdev group.
--
Regards,
Shirish Agarwal शिरीष अग्रवाल
My quotes in this email licensed under CC 3.0
http://creativecommons.org/licenses/by-nc/3.0/
http://flossexperiences.wordpress.com
EB80 462B 08E1 A0DE A73A 2C2F 9F3D C7A4 E1C4 D2D8
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]