Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #204480

Re: Command line mounting all partitions of pluggable device

From David Wright <deblis@lionunicorn.co.uk>
Newsgroups linux.debian.user
Subject Re: Command line mounting all partitions of pluggable device
Date 2019-01-17 06:00 +0100
Message-ID <xh7Wx-7up-1@gated-at.bofh.it> (permalink)
References <xgbfP-4OX-1@gated-at.bofh.it> <xgclA-5sm-5@gated-at.bofh.it> <xgdhE-62Y-7@gated-at.bofh.it> <xggSe-8ls-13@gated-at.bofh.it> <xgloR-2OV-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon 14 Jan 2019 at 19:06:29 (-0600), Richard Owlett wrote:
> On 01/14/2019 02:18 PM, David Wright wrote:
> > On Mon 14 Jan 2019 at 10:20:51 (-0600), Richard Owlett wrote:
> > > On 01/14/2019 09:22 AM, Thomas Schmitt wrote:
> > > > rhkramer@gmail.com 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.
> > 
> > "Reasonably unique" doesn't really cut it.
> 
> For my current 2.2TB, the labels seem acceptably unique:
> > MainCdrive	my-big-dvd	fromdell	richardofdell	debversionricharProjects	F_drive	OldMachine		fullstretch	debian8.6		recover-common
> tomboy-testing	owlcommon	new-net-inst	good-fvwm	tst_mysql	tst_mariadb
> dummy		target		gddrescued_commo	jessie8-6-6	common		stretch-2nd
> 17oct2017	common-bak		backup_homedirs			myhome		dectest		scratch_pad	
> FreeAgentGoFlexDrive		windows		GOFLEXPART5	recovered	mate-full
> post-failure	MISC-backups	

Sure, but this sort of ad hoc naming "scheme" means that you have to
be aware of the entire current population of names every time you
create a new one. That presents a danger of collision.

Cheers,
David.

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Command line mounting all partitions of pluggable device Richard Owlett <rowlett@cloud85.net> - 2019-01-14 14:20 +0100
  Re: Command line mounting all partitions of pluggable device rhkramer@gmail.com - 2019-01-14 14:40 +0100
    Re: Command line mounting all partitions of pluggable device Richard Owlett <rowlett@cloud85.net> - 2019-01-14 15:20 +0100
      Re: Command line mounting all partitions of pluggable device rhkramer@gmail.com - 2019-01-14 16:10 +0100
        Re: Command line mounting all partitions of pluggable device rhkramer@gmail.com - 2019-01-14 16:10 +0100
          Re: Command line mounting all partitions of pluggable device Richard Owlett <rowlett@cloud85.net> - 2019-01-14 17:20 +0100
      Re: Command line mounting all partitions of pluggable device "Thomas Schmitt" <scdbackup@gmx.net> - 2019-01-14 16:30 +0100
        Re: Command line mounting all partitions of pluggable device Richard Owlett <rowlett@cloud85.net> - 2019-01-14 17:30 +0100
          Re: Command line mounting all partitions of pluggable device David Wright <deblis@lionunicorn.co.uk> - 2019-01-14 21:20 +0100
            Re: Command line mounting all partitions of pluggable device Richard Owlett <rowlett@cloud85.net> - 2019-01-15 02:10 +0100
              Re: Command line mounting all partitions of pluggable device David Wright <deblis@lionunicorn.co.uk> - 2019-01-17 06:00 +0100
                Re: Command line mounting all partitions of pluggable device Richard Owlett <rowlett@cloud85.net> - 2019-01-18 14:50 +0100
                Re: Command line mounting all partitions of pluggable device David Wright <deblis@lionunicorn.co.uk> - 2019-01-19 04:50 +0100
              Re: Command line mounting all partitions of pluggable device Andrei POPESCU <andreimpopescu@gmail.com> - 2019-05-19 13:30 +0200
                Re: Command line mounting all partitions of pluggable device Greg Wooledge <wooledg@eeg.ccf.org> - 2019-05-20 15:40 +0200
                Re: Command line mounting all partitions of pluggable device Andrei POPESCU <andreimpopescu@gmail.com> - 2019-05-20 21:10 +0200
          Re: Command line mounting all partitions of pluggable device Brian <ad44@cityscape.co.uk> - 2019-01-14 21:30 +0100

csiph-web