Re: Useful tools missing from /rescue

看板FB_hackers作者時間18年前 (2007/10/04 10:25), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串16/21 (看更多)
> > > Yar Tikhiy wrote: > > > >I've had to use /rescue recently and felt lack of a few basic tools > > > >in it, namely pgrep(1), head(1), tail(1), tee(1), and a text filter, > > > >e.g., sed(1). Well, in fact most functionality of pgrep(1), head(1), > > > >tail(1), and even tee(1) can be emulated if one has sed(1), but the > > > >tools are so tiny and convenient that it's a pity not to have them > > > >all handy during hard times. I also don't see the need for pgrep - I think needing that says your system is running multiuser pretty well. Also head and tail - why not just add 'more' as that would give more functionality if you're trying to read a file in /etc to fix something. > > > >In addition, there are chflags and chmod in /rescue, but there's > > > >no chown in it, so the toolset is a bit incomplete. I don't see the purpose of chown - if you have to fall back to /rescue you're user 'root' - and you're trying to fix enough so you can use standard /*lib & /*bin chflags is needed so you can overwrite a file and chmod is needed so you can "chmod +x" something - those needs are clear. Please don't pestimize the build - unless there is a clear benefit. -- -- David (obrien@FreeBSD.org) Q: Because it reverses the logical flow of conversation. A: Why is top-posting (putting a reply at the top of the message) frowned upon? Let's not play "Jeopardy-style quoting" _______________________________________________ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
文章代碼(AID): #1714x_00 (FB_hackers)
討論串 (同標題文章)
文章代碼(AID): #1714x_00 (FB_hackers)