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 crea
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 somet
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
ht
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 support for file system labels a
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 someone can tell me a
reliable
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 someone can tell me a
reliable way for unprivileged user to get the labels, I'll add it. Feel
free to use the
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.
usbpmoun
Hi all,
On 04/28/2016 09:55 PM, Rob Owens wrote:
- 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 f
On Thu, 28 Apr 2016 16:04:42 + (UTC)
Go Linux wrote:
> On Thu, 4/28/16, Rob Owens 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
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.
>
>Didier
- 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 wanted to show. A clic
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 coul
g under my rock...
> -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 escribió:
> >> This i
On Thu, 4/28/16, Rob Owens 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"
> Do you happen to know a corresponding utility to read/write the la
- 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
Dng@lists.dyne.org
https://mailing
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
Very,
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 filesystem;
here is th
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 lab
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.
Insert pendrive labeled B
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 (ext?, reiserfs, btrf
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 h
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 label "backup".
>>
>> A
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
> > > there are millions with the
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 drives labelled "backup" to be
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 drives labelled "backup" to be mounted at the same
mountpoint so I can use one backup script for all
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 should rather offer an easy mount-ha
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)
>
> Didier
You can
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 sto
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 runs
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 like pmount for mounting usb devices. It's
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
Dng@lists.dyne
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 devices, you don't need to list them
> >> in
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 mount-handle"?
I mean
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 featured book: Rapi
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 user who plugs
> > in the thumb, so rather than r
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.)
> > it might be nice to map that to a m
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 13
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 filesystems (cryptsetup/luks
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 mount target.
It co
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 to map that to a
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
probably run when you log in, an
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 adjective-noun from a list
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. Pmount isn't an AUTOmounter
On Tue, 26 Apr 2016 18:19:32 -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:
[snip]
> >> What you really want is for anyone in a certain group to be able to
> >> write to it. I used group "floppy", because a
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, et
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 I
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 thumb
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 something
> > that will help us a
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 Win
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 Windows file
system, and that's a good thing because it's mountable pretty mu
56 matches
Mail list logo