Re: Request for enhancement [Re: Question about /etc/fstab in Squeeze]

2010-12-21 Thread Rick Thomas
On Dec 20, 2010, at 3:07 AM, Herbert Kaminski wrote: Rick Thomas schrieb: 2) if reformatting is necessary or desired, have the option (default) of preserving the UUID. This would be an useful option for all partitions, not only for swap, for people like me who dare to test DI in a spare pa

Re: Request for enhancement [Re: Question about /etc/fstab in Squeeze]

2010-12-21 Thread Paul E Condon
On 20101221_031624, Tom H wrote: > On Mon, Dec 20, 2010 at 5:37 PM, Stephen Powell wrote: > > On Sun, 19 Dec 2010 11:44:35 -0500 (EST), Rick Thomas wrote: > >> On Dec 19, 2010, at 8:09 AM, Stephen Powell wrote: > >>> > >>> Caution: reformatting a swap partition with mkswap will change the > >>> uu

Re: Request for enhancement [Re: Question about /etc/fstab in Squeeze]

2010-12-21 Thread Paul E Condon
On 20101221_040215, Tom H wrote: > On Mon, Dec 20, 2010 at 8:10 PM, Paul E Condon > wrote: > > On 20101220_173710, Stephen Powell wrote: > >> On Sun, 19 Dec 2010 11:44:35 -0500 (EST), Rick Thomas wrote: > >>> > >>> The Debian Installer insists on reformatting any swap partitions it > >>> finds, ev

Re: Request for enhancement [Re: Question about /etc/fstab in Squeeze]

2010-12-21 Thread Tom H
On Mon, Dec 20, 2010 at 8:10 PM, Paul E Condon wrote: > On 20101220_173710, Stephen Powell wrote: >> On Sun, 19 Dec 2010 11:44:35 -0500 (EST), Rick Thomas wrote: >>> >>> The Debian Installer insists on reformatting any swap partitions it >>> finds, even though that partition, specified by UUID, is

Re: Request for enhancement [Re: Question about /etc/fstab in Squeeze]

2010-12-21 Thread Tom H
On Mon, Dec 20, 2010 at 5:37 PM, Stephen Powell wrote: > On Sun, 19 Dec 2010 11:44:35 -0500 (EST), Rick Thomas wrote: >> On Dec 19, 2010, at 8:09 AM, Stephen Powell wrote: >>> >>> Caution: reformatting a swap partition with mkswap will change the >>> uuid unless the existing one is explicitly re-s

Re: Request for enhancement [Re: Question about /etc/fstab in Squeeze]

2010-12-20 Thread Paul E Condon
On 20101220_173710, Stephen Powell wrote: > On Sun, 19 Dec 2010 11:44:35 -0500 (EST), Rick Thomas wrote: > > On Dec 19, 2010, at 8:09 AM, Stephen Powell wrote: > >> Caution: reformatting a swap partition with mkswap will change the > >> uuid unless the existing one is explicitly re-specified during

Re: Request for enhancement [Re: Question about /etc/fstab in Squeeze]

2010-12-20 Thread Stephen Powell
On Sun, 19 Dec 2010 11:44:35 -0500 (EST), Rick Thomas wrote: > On Dec 19, 2010, at 8:09 AM, Stephen Powell wrote: >> Caution: reformatting a swap partition with mkswap will change the >> uuid unless the existing one is explicitly re-specified during >> formatting. > > Which raises a question tha

Re: Question about /etc/fstab in Squeeze

2010-12-19 Thread Bob Proulx
Camaleón wrote: > Bob Proulx wrote: > > Hugo Vanwoerkom wrote: > >> and /dev/disk/by-label. Of course. Thanks! > > > > /dev/disk/by-label ?? What kernel are you running? > > If you have not label defined for any volume, the node won't be > automatically created. Ah... I see. I learned someth

Re: Question about /etc/fstab in Squeeze

2010-12-19 Thread Bob Proulx
Stephen Powell wrote: > /dev is a pseudo file system created by udev. Under ordinary conditions, > no data in it persists across reboots. I suspect that udev does not create > a /dev/by-label directory unless it detects a disk partition with a label > during boot. > > Perhaps none of Bob's parti

Request for enhancement [Re: Question about /etc/fstab in Squeeze]

2010-12-19 Thread Rick Thomas
On Dec 19, 2010, at 8:09 AM, Stephen Powell wrote: Caution: reformatting a swap partition with mkswap will change the uuid unless the existing one is explicitly re-specified during formatting. Which raises a question that has been on my mind for a while... The Debian Installer insists on r

Re: Question about /etc/fstab in Squeeze

2010-12-19 Thread Stephen Powell
On Sun, 19 Dec 2010 03:51:28 -0500 (EST), Boyd Stephen Smith Jr. wrote: > In <20101218221908.ga5...@hysteria.proulx.com>, Bob Proulx wrote: >> Hugo Vanwoerkom wrote: >>> Bob Proulx wrote: ls -log /dev/disk/by-uuid >>> >>> and /dev/disk/by-label. Of course. Thanks! >> >> /dev/disk/by-label ??

Re: Question about /etc/fstab in Squeeze

2010-12-19 Thread Camaleón
On Sat, 18 Dec 2010 15:19:08 -0700, Bob Proulx wrote: > Hugo Vanwoerkom wrote: >> Bob Proulx wrote: >> > ls -log /dev/disk/by-uuid >> >> and /dev/disk/by-label. Of course. Thanks! > > /dev/disk/by-label ?? What kernel are you running? > > $ ls -log /dev/disk/ > total 0 > drwxr-xr-x 2 12

Re: Question about /etc/fstab in Squeeze

2010-12-19 Thread Boyd Stephen Smith Jr.
In <20101218221908.ga5...@hysteria.proulx.com>, Bob Proulx wrote: >Hugo Vanwoerkom wrote: >> Bob Proulx wrote: >> > ls -log /dev/disk/by-uuid >> >> and /dev/disk/by-label. Of course. Thanks! > >/dev/disk/by-label ?? What kernel are you running? $ ls /dev/disk by-id by-label by-path by-uuid $

Re: Question about /etc/fstab in Squeeze

2010-12-18 Thread Bob Proulx
Hugo Vanwoerkom wrote: > Bob Proulx wrote: > > ls -log /dev/disk/by-uuid > > and /dev/disk/by-label. Of course. Thanks! /dev/disk/by-label ?? What kernel are you running? $ ls -log /dev/disk/ total 0 drwxr-xr-x 2 1240 Dec 16 11:26 by-id drwxr-xr-x 2 380 Dec 16 11:26 by-path drwxr-xr

Re: Question about /etc/fstab in Squeeze

2010-12-18 Thread Hugo Vanwoerkom
Bob Proulx wrote: Hugo Vanwoerkom wrote: Bob Proulx wrote: Paul E Condon wrote: What is 'vol_id' ? That is the old way. It was superseded by 'blkid'. That comment must have been left behind and not updated. Instead of running vol_id --uuid try running blkid. man blkid That brings up a q

Re: Question about /etc/fstab in Squeeze

2010-12-18 Thread Bob Proulx
Hugo Vanwoerkom wrote: > Bob Proulx wrote: > > Paul E Condon wrote: > > > What is 'vol_id' ? > > > > That is the old way. It was superseded by 'blkid'. That comment must > > have been left behind and not updated. Instead of running vol_id > > --uuid try running blkid. > > > > man blkid > > Tha

Re: Question about /etc/fstab in Squeeze

2010-12-18 Thread Hugo Vanwoerkom
Bob Proulx wrote: Paul E Condon wrote: The /etc/fstab that is installed by the Debian installer in Squeeze contains the following comment lines: # Use 'vol_id --uuid' to print the universally unique identifier for a # device; this may be used with UUID= as a more robust way to name devices # t

Re: Question about /etc/fstab in Squeeze

2010-12-17 Thread Bob Proulx
Paul E Condon wrote: > The /etc/fstab that is installed by the Debian installer > in Squeeze contains the following comment lines: > > # Use 'vol_id --uuid' to print the universally unique identifier for a > # device; this may be used with UUID= as a more robust way to name devices > # that works

Question about /etc/fstab in Squeeze

2010-12-17 Thread Paul E Condon
The /etc/fstab that is installed by the Debian installer in Squeeze contains the following comment lines: # Use 'vol_id --uuid' to print the universally unique identifier for a # device; this may be used with UUID= as a more robust way to name devices # that works even if disks are added and remo