diff options
author | hansp <hansp> | 2001-02-28 21:12:45 +0000 |
---|---|---|
committer | hansp <hansp> | 2001-02-28 21:12:45 +0000 |
commit | 83d7d54d905f60f50f86b0ea8741e7b9cbf337c4 (patch) | |
tree | c9d8904f6c921bfe157e1f701050f0fa10e56f69 | |
parent | 60d6d604f3619660e59ddb91ed9708c114aeff4c (diff) |
2001-02-28 Hans Petter Jansson <hpj@ximian.com>XST_0_3_0
* disks-conf.in: Don't touch UUID= either.
-rw-r--r-- | ChangeLog | 4 | ||||
-rwxr-xr-x | disks-conf.in | 4 |
2 files changed, 6 insertions, 2 deletions
@@ -1,3 +1,7 @@ +2001-02-28 Hans Petter Jansson <hpj@ximian.com> + + * disks-conf.in (read_fstab, write_fstab): Don't touch UUID= either. + 2001-02-28 Arturo Espinosa <arturo@ximian.com> * file.pl.in (xst_open_write_from_names): old criterion was preventing diff --git a/disks-conf.in b/disks-conf.in index 409e627..9b3ee75 100755 --- a/disks-conf.in +++ b/disks-conf.in @@ -284,7 +284,7 @@ sub read_fstab @line = split(/[ \n\r\t]+/, $_); if ($line[0] eq "") { shift @line; } - if ($line[0] eq "" || $line[0] =~ /$LABEL=.*/) { next; } + if ($line[0] eq "" || $line[0] =~ /$LABEL=.*/ || $line[0] =~ /$UUID=.*/) { next; } if (&xst_ignore_line($line[0])) { next; } ($device, $point, $fs, $options, $dump, $check) = @line; @@ -331,7 +331,7 @@ sub write_fstab @line = split(/[ \n\r\t]+/, $_); if ($line[0] eq "") { shift @line; } - if ($line[0] eq "" || $line[0] =~ /$LABEL=.*/) { print OUTFILE; next; } + if ($line[0] eq "" || $line[0] =~ /$LABEL=.*/ || $line[0] =~ /$UUID=.*/) { print OUTFILE; next; } if (&xst_ignore_line($line[0])) { print OUTFILE; next; } ($device, $point, $fs, $options, $dump, $check) = @line; |