Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 177514 - dosfsutils does not support -p, required for baselayout-2
Summary: dosfsutils does not support -p, required for baselayout-2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-07 16:13 UTC by Eduard Bachmakov
Modified: 2007-05-12 16:20 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Map -p to -a (dosfsck-preen.patch,824 bytes, patch)
2007-05-07 17:45 UTC, Roy Marples (RETIRED)
Details | Diff
Map -p to -a (dosfsck-preen.patch,1.03 KB, patch)
2007-05-07 18:51 UTC, Roy Marples (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Eduard Bachmakov 2007-05-07 16:13:34 UTC
The /etc/init.d/checkfs script starts fsck with "-p" parameter which does not exist in case of fsck.vfat. With checkfs failing all other init scripts do not start.
This only happens if you have a vfat partition _and_ a fs_passno >0 (last column in /etc/fstab)
Comment 1 Roy Marples (RETIRED) gentoo-dev 2007-05-07 17:45:48 UTC
Created attachment 118468 [details, diff]
Map -p to -a
Comment 2 Eduard Bachmakov 2007-05-07 18:45:29 UTC
Does not work for me although the patch is correctly applied:
$ fsck.vfat -p /dev/sda4
fsck.vfat: invalid option -- p
usage: fsck.vfat [-aAflrtvVwy] [-d path -d ...] [-u path -u ...]
               device
  -a       automatically repair the file system
  -A       toggle Atari file system format
  -d path  drop that file
  -f       salvage unused chains to files
  -l       list path names
  -n       no-op, check non-interactively without changing
  -p       same as -a, for compat with other *fsck
  -r       interactively repair the file system
  -t       test for bad clusters
  -u path  try to undelete that (non-directory) file
  -v       verbose mode
  -V       perform a verification pass
  -w       write changes to disk immediately
  -y       same as -a, for compat with other *fsck
Comment 3 Roy Marples (RETIRED) gentoo-dev 2007-05-07 18:51:24 UTC
Created attachment 118476 [details, diff]
Map -p to -a

Heh, this one should work.
Comment 4 Roy Marples (RETIRED) gentoo-dev 2007-05-11 08:56:51 UTC
Well, does it work for you?
Comment 5 Eduard Bachmakov 2007-05-11 11:32:43 UTC
It does. Thank you.
Comment 6 Roy Marples (RETIRED) gentoo-dev 2007-05-12 15:39:26 UTC
Fixed in -r3
Comment 7 Roy Marples (RETIRED) gentoo-dev 2007-05-12 16:20:04 UTC
.