Re: Command line mounting all partitions of pluggable device

2019-05-20 Thread Andrei POPESCU
On Lu, 20 mai 19, 09:31:05, Greg Wooledge wrote: > On Sun, May 19, 2019 at 02:20:19PM +0300, Andrei POPESCU wrote: > > for $dir in /media/removable/* > > do > > mount /dev/disk/by-label/$dir /media/removable/$dir > > done > > for dir in /media/removable/* > do > mount /dev/

Re: Command line mounting all partitions of pluggable device

2019-05-20 Thread Greg Wooledge
On Sun, May 19, 2019 at 02:20:19PM +0300, Andrei POPESCU wrote: > for $dir in /media/removable/* > do > mount /dev/disk/by-label/$dir /media/removable/$dir > done for dir in /media/removable/* do mount /dev/disk/by-label/"$dir" /media/removable/"$dir" done Note the lack of

Re: Command line mounting all partitions of pluggable device

2019-05-19 Thread Andrei POPESCU
On Lu, 14 ian 19, 19:06:29, 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: > > > > rhkra...@gmail.com wrote: > > > > > > Assuming there are entries in fstab for

Re: Command line mounting all partitions of pluggable device

2019-01-18 Thread David Wright
On Fri 18 Jan 2019 at 07:45:56 (-0600), Richard Owlett wrote: > On 01/15/2019 10:40 AM, David Wright wrote: > > 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: > > >

Re: Command line mounting all partitions of pluggable device

2019-01-18 Thread Richard Owlett
On 01/15/2019 10:40 AM, David Wright wrote: 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: rhkra...@gmail.com wrote: Assuming

Re: Command line mounting all partitions of pluggable device

2019-01-16 Thread David Wright
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: > > > > rhkra...@gmail.com wrote: > > > > > > Assuming there are entries

Re: Command line mounting all partitions of pluggable device

2019-01-14 Thread Richard Owlett
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: rhkra...@gmail.com wrote: Assuming there are entries in fstab for each partition, [...] for i in /dev/sd*; do mount $i; done Rchard Owlet

Re: Command line mounting all partitions of pluggable device

2019-01-14 Thread Brian
On Mon 14 Jan 2019 at 10:20:51 -0600, Richard Owlett wrote: > On 01/14/2019 09:22 AM, Thomas Schmitt wrote: > > Hi, > > > > rhkra...@gmail.com wrote: > > > > Assuming there are entries in fstab for each partition, [...] > > > > for i in /dev/sd*; do mount $i; done > > > > Rchard Owlett wrote:

Re: Command line mounting all partitions of pluggable device

2019-01-14 Thread David Wright
On Mon 14 Jan 2019 at 10:20:51 (-0600), Richard Owlett wrote: > On 01/14/2019 09:22 AM, Thomas Schmitt wrote: > > rhkra...@gmail.com wrote: > > > > Assuming there are entries in fstab for each partition, [...] > > > > for i in /dev/sd*; do mount $i; done > > > > Rchard Owlett wrote: > > > There

Re: Command line mounting all partitions of pluggable device

2019-01-14 Thread Richard Owlett
On 01/14/2019 09:22 AM, Thomas Schmitt wrote: Hi, rhkra...@gmail.com wrote: Assuming there are entries in fstab for each partition, [...] for i in /dev/sd*; 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 o

Re: Command line mounting all partitions of pluggable device

2019-01-14 Thread Richard Owlett
On 01/14/2019 09:02 AM, rhkra...@gmail.com wrote: Top posting intentionally: I guess the key is something has to know where to mount those devices, and you are the one that has to decide that and tell mount in one way or another. Using your scheme of "/dev/sd" the desired mount point can be "

Re: Command line mounting all partitions of pluggable device

2019-01-14 Thread Thomas Schmitt
Hi, rhkra...@gmail.com wrote: > > Assuming there are entries in fstab for each partition, [...] > > for i in /dev/sd*; 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 (

Re: Command line mounting all partitions of pluggable device

2019-01-14 Thread rhkramer
Top posting intentionally: I guess the key is something has to know where to mount those devices, and you are the one that has to decide that and tell mount in one way or another. On Monday, January 14, 2019 10:01:15 AM rhkra...@gmail.com wrote: > On Monday, January 14, 2019 09:12:30 AM Richar

Re: Command line mounting all partitions of pluggable device

2019-01-14 Thread rhkramer
On Monday, January 14, 2019 09:12:30 AM Richard Owlett wrote: > On 01/14/2019 07:33 AM, rhkra...@gmail.com wrote: > > On Monday, January 14, 2019 08:11:11 AM Richard Owlett wrote: > >> How do I mount all partitions of a specific device > >> (e.g. /dev/sdc)? > > > > Assuming there are entries in f

Re: Command line mounting all partitions of pluggable device

2019-01-14 Thread Richard Owlett
On 01/14/2019 07:33 AM, rhkra...@gmail.com wrote: On Monday, January 14, 2019 08:11:11 AM Richard Owlett wrote: I have competing mount requirements. I have 2 1TB USB drives with a dozen or more partitions, only one of which may be of current interest. Disabling automoun is a suitable solution to

Re: Command line mounting all partitions of pluggable device

2019-01-14 Thread rhkramer
On Monday, January 14, 2019 08:11:11 AM Richard Owlett wrote: > I have competing mount requirements. > I have 2 1TB USB drives with a dozen or more partitions, only one of > which may be of current interest. Disabling automoun is a suitable > solution to mounted clutter. > > However I have several