[PATCH] fix fstab-sync when last 2 optional fields are missing and
there are whitespaces
Pascal Terjan
pterjan at mandriva.com
Sat Sep 10 09:19:02 PDT 2005
Hello,
according to fstab manpage, fields 5 and 6 are optionnal (and treated as
0 if they are not present).
However, if you have a fstab with one (or both) field missing and some
whitespaces at the end of the line, fstab-sync will fail to parse the
file.
Here is a patch to fix this. The patch was written and tested against
0.4.8 but it looks like fstab-sync did not change since.
Yours,
--
Pascal Terjan
Professional Services Engineer
Mandriva (formerly Mandrakesoft)
Tel +33 (0) 1 40 41 17 51 - Fax +33 (0) 1 40 41 92 00
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hal-0.4.8-eol.patch
Type: text/x-patch
Size: 1081 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/hal/attachments/20050910/4085cc53/hal-0.4.8-eol.bin
More information about the hal
mailing list