Someone said they wanted a non-gui way to mount removable devices by
label. Here it is. Let me know if it works for you or not. (It's working
well here.)
I'll add support for labels in the gui pmounter, too.
https://gist.github.com/fsmithred/81a4e1585175c377c32ed2f670ab9ef3
-fsr
On 05/04/2016 05:58 AM, Boruch Baum wrote:
> On 2016-05-02 08:12, fsmithred wrote:
>> No support for file system labels at this time. If someone can tell me a
>> reliable way for unprivileged user to get the labels, I'll add it. Feel
>> free to use these scripts as they are or as motivation to
Le 04/05/2016 11:58, Boruch Baum a écrit :
On 2016-05-02 08:12, fsmithred wrote:
No support for file system labels at this time. If someone can tell me a
reliable way for unprivileged user to get the labels, I'll add it. Feel
free to use these scripts as they are or as motivation to create
On 2016-05-02 08:12, fsmithred wrote:
> No support for file system labels at this time. If someone can tell me a
> reliable way for unprivileged user to get the labels, I'll add it. Feel
> free to use these scripts as they are or as motivation to create something
> better.
Are you looking for?:
Le 03/05/2016 19:12, fsmithred a écrit :
@Didier - try pulling out the usb stick and replacing it with a different
one. When I do that, the cache does not get updated.
didn't try that. will do tonight :-)
___
Dng mailing list
Dng@lists.dyne.org
On 05/03/2016 08:46 AM, Jim Murphy wrote:
> On Tue, May 3, 2016 at 7:28 AM, Didier Kryn wrote:
>> Le 03/05/2016 14:06, Jim Murphy a écrit :
>>>
>>> On Tue, May 3, 2016 at 4:04 AM, Didier Kryn wrote:
Le 02/05/2016 14:12, fsmithred a écrit :
>
> No
On Tue, May 3, 2016 at 7:28 AM, Didier Kryn wrote:
> Le 03/05/2016 14:06, Jim Murphy a écrit :
>>
>> On Tue, May 3, 2016 at 4:04 AM, Didier Kryn wrote:
>>>
>>> Le 02/05/2016 14:12, fsmithred a écrit :
No support for file system labels at this time. If
Le 02/05/2016 14:12, fsmithred a écrit :
No support for file system labels at this time. If someone can tell me a
reliable way for unprivileged user to get the labels, I'll add it. Feel
free to use these scripts as they are or as motivation to create something
better.
-fsr
On 04/28/2016 01:52
I rewrote the usbpmount script so that it handles sd/mmc and cd/dvd
devices as well as usb. Get usbpmount3.tar.gz from
https://sourceforge.net/projects/refracta/files/testing
These are standalone scripts. None of the notification stuff is included,
but they could be made to work with it.
On Thu, 28 Apr 2016 16:04:42 + (UTC)
Go Linux <goli...@yahoo.com> wrote:
> On Thu, 4/28/16, Rob Owens <row...@ptd.net> wrote:
>
> Subject: Re: [DNG] For all you automounter programmers
> To: dng@lists.dyne.org
> Date: Thursday, April 28, 2016, 9:44 AM
&
Le 28/04/2016 16:07, Steve Litt a écrit :
Didier Kryn wrote:
> But there are tools on Linux to add a label to a filesystem;
>here is the first thing I do to a new usb stick:
>
> /sbin/dosfslabel /dev/sdb1 $my_name
>
> Very usefull when exchanging sticks.
>
>
- Original Message -
> From: "Matthew Melton"
> A brief aside.
> Although not an automounter I remember using bbsmount on blackbox. I can't
> remember how to configure it but it sat in the blackbox dock and if I
> remember
> and showed icons for all the drives you
On 04/27/2016 08:28 PM, fsmithred wrote:
>
> You could get the label from lsblk, do 'pmount label' and it will be
> mounted at /media/label. Every time you plug in a thumb drive labeled
> backup, it'll go to the same place. If you unmount the drive, /media/label
> will no longer exist, so you
...
> -Original Message-
> From: Dng [mailto:dng-boun...@lists.dyne.org] On Behalf Of Noel Torres
> Sent: Thursday, April 28, 2016 7:50 AM
> To: dng@lists.dyne.org
> Subject: Re: [DNG] For all you automounter programmers
>
> Didier Kryn <k...@in2p3.fr> escribió:
> >>
On Thu, 4/28/16, Rob Owens <row...@ptd.net> wrote:
Subject: Re: [DNG] For all you automounter programmers
To: dng@lists.dyne.org
Date: Thursday, April 28, 2016, 9:44 AM
- Original Message -
> From: "Steve Litt" <sl...@troubleshooters.com>
> Do you ha
- Original Message -
> From: "Steve Litt"
> Do you happen to know a corresponding utility to read/write the label
> on an ext4 formatted thumb drive partition?
>
e2label /dev/sdXY my_label
___
Dng mailing list
On Thu, 28 Apr 2016 08:32:06 +0200
Didier Kryn wrote:
> But there are tools on Linux to add a label to a filesystem;
> here is the first thing I do to a new usb stick:
>
> /sbin/dosfslabel /dev/sdb1 $my_name
>
> Very usefull when exchanging sticks.
>
>
Didier Kryn escribió:
This isn't just a theoretical thing, lots of people don't label their
thumb drives.
Another issue is a lot of thumb drives have the same label. I bet there
are millions with the label "backup".
But there are tools on Linux to add a label to a
Le 28/04/2016 02:16, Steve Litt a écrit :
I think my original handled that, by creating a database of UUID, label
and device name (and now it's going to need to include user mounting it
too). So a little universal shellscript can go in the database (which
of course is a simple file), find the
Steve Litt escribió:
I don't know of a way to tell pmount or udev/vdev/eudev to assign a
particular device to a thumb drive, without manually doing all the
mknod and all that. Excellent idea, very useful. But if something's
already assigned to that device, you're sol.
Le 28/04/2016 01:29, Steve Litt a écrit :
No matter what you do, somebody's going to pull one out without
umounting. I've done it. Lots of people have. Oops!
Perhaps we can include a daemon that runs sync command every 10
seconds. I doubt that would have much effect, but would probably
minimize
Le 28/04/2016 01:24, Steve Litt a écrit :
On Wed, 27 Apr 2016 19:35:08 +0200
Didier Kryn wrote:
Le 27/04/2016 19:13, Steve Litt a écrit :
Not all filesystems have labels.
For my information, could you list some? Every filesystem I ever
used to format disks had one
On 04/28/2016 09:28 AM, fsmithred wrote:
You could get the label from lsblk, do 'pmount label' and it will be
mounted at /media/label. Every time you plug in a thumb drive labeled
backup, it'll go to the same place. If you unmount the drive, /media/label
will no longer exist, so you could even
On 04/27/2016 08:16 PM, Steve Litt wrote:
> On Wed, 27 Apr 2016 19:51:54 -0400
> Hendrik Boom wrote:
>
>> On Wed, Apr 27, 2016 at 07:24:29PM -0400, Steve Litt wrote:
>>>
>>> Another issue is a lot of thumb drives have the same label. I bet
>>> there are millions with the
On Wed, Apr 27, 2016 at 08:16:31PM -0400, Steve Litt wrote:
> On Wed, 27 Apr 2016 19:51:54 -0400
> Hendrik Boom wrote:
>
> > On Wed, Apr 27, 2016 at 07:24:29PM -0400, Steve Litt wrote:
> > >
> > > Another issue is a lot of thumb drives have the same label. I bet
> > >
On Wed, 27 Apr 2016 19:51:54 -0400
Hendrik Boom wrote:
> On Wed, Apr 27, 2016 at 07:24:29PM -0400, Steve Litt wrote:
> >
> > Another issue is a lot of thumb drives have the same label. I bet
> > there are millions with the label "backup".
>
> And I'd like all my
On Wed, 27 Apr 2016 19:22:06 +0200
Didier Kryn wrote:
> Le 27/04/2016 19:17, Steve Litt a écrit :
> > On Wed, 27 Apr 2016 09:10:25 +0200
> > Didier Kryn wrote:
> >
> >
> >> Wishlist: the "automounter" shouldn't mount automatically, by
> >> default. It
On Wed, 27 Apr 2016 19:35:08 +0200
Didier Kryn wrote:
> Le 27/04/2016 19:13, Steve Litt a écrit :
> > Not all filesystems have labels.
> For my information, could you list some? Every filesystem I ever
> used to format disks had one (ext?, reiserfs, btrfs, vfat)
>
>
Hi, what about -> https://ignorantguru.github.io/udevil ?
On 2016-04-26 15:08, Steve Litt wrote:
Hi all,
It seems like everyone in the Devuan community has written his or her
own usb drive automounter, and I've just discovered something that will
help us all.
The thumb drive you buy at the
On 04/27/2016 01:27 PM, Steve Litt wrote:
>>
>> That's pretty much what my usb-mounter does. Inotifywait runs when
>> you log into the desktop, and when you plug in a thumb drive, it pops
>> up a window showing you the partitions on that device. You then
>> choose one to mount, and the script
On Wed, Apr 27, 2016 at 01:27:08PM -0400, Steve Litt wrote:
> On Wed, 27 Apr 2016 08:25:02 -0400
> fsmithred wrote:
>
> > On 04/26/2016 09:32 PM, Steve Litt wrote:
> > > On Tue, 26 Apr 2016 18:19:32 -0400
> > > fsmithred wrote:
> > >
> > >
> > >> I
Le 27/04/2016 19:13, Steve Litt a écrit :
Not all filesystems have labels.
For my information, could you list some? Every filesystem I ever
used to format disks had one (ext?, reiserfs, btrfs, vfat)
Didier
___
Dng mailing list
On Wed, 27 Apr 2016 08:25:02 -0400
fsmithred wrote:
> On 04/26/2016 09:32 PM, Steve Litt wrote:
> > On Tue, 26 Apr 2016 18:19:32 -0400
> > fsmithred wrote:
> >
> >
> >> I like pmount for mounting usb devices. It's pretty smart. For
> >> removable
Le 27/04/2016 19:17, Steve Litt a écrit :
On Wed, 27 Apr 2016 09:10:25 +0200
Didier Kryn wrote:
Wishlist: the "automounter" shouldn't mount automatically, by
default. It should rather offer an easy mount-handle, and the umount
counterpart.
What is an "easy
On Wed, 27 Apr 2016 09:10:25 +0200
Didier Kryn wrote:
> Wishlist: the "automounter" shouldn't mount automatically, by
> default. It should rather offer an easy mount-handle, and the umount
> counterpart.
What is an "easy mount-handle"?
SteveT
Steve Litt
April 2016
On Wed, 27 Apr 2016 06:47:38 +
Noel Torres wrote:
> Steve Litt escribió:
> > Therefore: pmount, when combined with the inotifywait automounters
> > we've all made, should be perfect.
> >
> > Those pmount automounter commands should run as the
On Wed, 27 Apr 2016 06:46:24 +
Noel Torres wrote:
> Joel Roth escribió:
> > As a suggestion for an aspiring automounter writer (or
> > reminder to self) I was thinking that if we can get a
> > sufficiently unique identifier from the device (UUID, etc.)
Problem to come with pmount is, it doesn't seem to be maintained any
longer. I use version 0.9.99-alpha-1 (in experimental at 25 Mar 2011,
still there, install to Jessie). That one handles "loopback" and luks
files, far as I know earlier versions did not, or not properly.
D
On 27 April 2016 at
On 04/26/2016 09:32 PM, Steve Litt wrote:
> On Tue, 26 Apr 2016 18:19:32 -0400
> fsmithred wrote:
>
>
>> I like pmount for mounting usb devices. It's pretty smart. For
>> removable devices, you don't need to list them in /etc/pmount.allow,
>> and it handles encrypted
Le 27/04/2016 09:08, Joel Roth a écrit :
Do you label all your filesystems? I don't, but you're right
that is a different function that needed be confuted with
an automounter.
I do, even for the hard disk; it's a reminder of where are /usr,
/var and /home. The labels show up in cfdisk.
Le 27/04/2016 08:46, Noel Torres a écrit :
Joel Roth escribió:
As a suggestion for an aspiring automounter writer (or
reminder to self) I was thinking that if we can get a
sufficiently unique identifier from the device (UUID, etc.)
it might be nice to map that to a memorable
On Wed, Apr 27, 2016 at 06:46:24AM +, Noel Torres wrote:
> Joel Roth escribió:
> >As a suggestion for an aspiring automounter writer (or
> >reminder to self) I was thinking that if we can get a
> >sufficiently unique identifier from the device (UUID, etc.)
> >it might be nice
Steve Litt escribió:
Therefore: pmount, when combined with the inotifywait automounters
we've all made, should be perfect.
Those pmount automounter commands should run as the user who plugs in
the thumb, so rather than running straight from the init, they should
Joel Roth escribió:
As a suggestion for an aspiring automounter writer (or
reminder to self) I was thinking that if we can get a
sufficiently unique identifier from the device (UUID, etc.)
it might be nice to map that to a memorable mount target.
It could be a noun or
On Tue, 26 Apr 2016 18:19:32 -0400
fsmithred wrote:
> I like pmount for mounting usb devices. It's pretty smart. For
> removable devices, you don't need to list them in /etc/pmount.allow,
> and it handles encrypted filesystems (cryptsetup/luks).
Ahh, now I remember.
Steve Litt wrote:
> Hi all,
>
> It seems like everyone in the Devuan community has written his or her
> own usb drive automounter,
As a suggestion for an aspiring automounter writer (or
reminder to self) I was thinking that if we can get a
sufficiently unique identifier from the device (UUID,
On 04/26/2016 07:19 PM, Hendrik Boom wrote:
>
> Root, as usual, us trusted to know what it is doing.
>
OK, thanks. I just had a Homer Simpson moment. Steve's intent was to make
it possible for users to *write* not mount. I used to do something
similar, but with the uid instead of the gid. Using
On Tue, Apr 26, 2016 at 06:19:32PM -0400, fsmithred wrote:
> On 04/26/2016 03:36 PM, Hendrik Boom wrote:
> > On Tue, Apr 26, 2016 at 02:08:33PM -0400, Steve Litt wrote:
> >> Hi all,
> >>
> >> It seems like everyone in the Devuan community has written his or her
> >> own usb drive automounter, and
On 04/26/2016 03:36 PM, Hendrik Boom wrote:
> On Tue, Apr 26, 2016 at 02:08:33PM -0400, Steve Litt wrote:
>> Hi all,
>>
>> It seems like everyone in the Devuan community has written his or her
>> own usb drive automounter, and I've just discovered something that will
>> help us all.
>>
>> The
On Tue, 26 Apr 2016 15:36:52 -0400
Hendrik Boom wrote:
> On Tue, Apr 26, 2016 at 02:08:33PM -0400, Steve Litt wrote:
> > Hi all,
> >
> > It seems like everyone in the Devuan community has written his or
> > her own usb drive automounter, and I've just discovered
On Tue, Apr 26, 2016 at 02:08:33PM -0400, Steve Litt wrote:
> Hi all,
>
> It seems like everyone in the Devuan community has written his or her
> own usb drive automounter, and I've just discovered something that will
> help us all.
>
> The thumb drive you buy at the store is formatted with a
51 matches
Mail list logo