Re: Command line mounting all partitions of pluggable device
- Date: Mon, 14 Jan 2019 20:23:00 +0000
- From: Brian <ad44@xxxxxxxxxxxxxxx>
- Subject: Re: Command line mounting all partitions of pluggable device
On Mon 14 Jan 2019 at 10:20:51 -0600, Richard Owlett wrote:
> On 01/14/2019 09:22 AM, Thomas Schmitt wrote:
> > Hi,
> > rhkramer@xxxxxxxxx wrote:
> > > > Assuming there are entries in fstab for each partition, [...]
> > > > for i in /dev/sd<device_letter>*; do mount $i; done
> > Rchard Owlett wrote:
> > > There are not.
> > In the most general case i would have a where-to-mount directory with
> > lots of directories for the various partitions (here 10 drives with
> > 20 partitions each).
> But thankfully I don't have to deal with the most general case as I am as
> compulsive about giving all partitions a reasonably unique label as Debian
> is about assigning UUIDs.
Would you like to say how you designate unique labels? Is there a
pattern to them on a particular device? As in: p1, p2 etc.
In the light of
> Each device is normally associated with a specific function
> (e.g. sneaker-net) or personal project.
do you distinguish between devices by means of the label? As in pers-p1,