Re: fsck_msdofs and pledge disklabel

2016-05-28 Thread Sebastien Marie
ok semarie@ On Sat, May 28, 2016 at 07:33:25PM +0200, Theo Buehler wrote: > Another low hanging fruit of the same sort: > > $ ktrace fsck_msdofs /dev/tty > Abort trap (core dumped) > $ kdump | tail > 4663 fsck_msdos RET read 612/0x264 > 4663 fsck_msdos CALL read(3,0x304fdfe4000,0x4000) >

Re: fsck_msdofs and pledge disklabel

2016-05-28 Thread Bob Beck
Another ok for this Although I am kind of wondering outloud is pledge disklabel is needed as such or could be refined.. should we simply always read the disklabel outside of pledge, and only need this to write one? On Sat, May 28, 2016 at 07:33:25PM +0200, Theo Buehler wrote: > Another low hangin

Re: fsck_msdofs and pledge disklabel

2016-05-28 Thread Bob Beck
On Sat, May 28, 2016 at 11:45:38AM -0600, Bob Beck wrote: > Another ok for this > > Although I am kind of wondering outloud is pledge disklabel is needed as such > or could be refined.. should we simply always read the disklabel outside of > pledge, and only need this to write one? actually that

fsck_msdofs and pledge disklabel

2016-05-28 Thread Theo Buehler
Another low hanging fruit of the same sort: $ ktrace fsck_msdofs /dev/tty Abort trap (core dumped) $ kdump | tail 4663 fsck_msdos RET read 612/0x264 4663 fsck_msdos CALL read(3,0x304fdfe4000,0x4000) 4663 fsck_msdos RET read 0 4663 fsck_msdos CALL open(0x3029c121880,0x2) 4663 fsck_m