Re: the idea of /fastboot ?

2012-10-12 Thread Artturi Alm
2012/10/11 Boudewijn Dijkstra : > > What about init.8 and init.c? They also mention fastboot. > You're right, those were missing since i redirected output of cvs diff into a wrong file from sbin/init because of typo. i should triple-read before sending, thanks for the note. :) -Artturi > > -- >

Re: the idea of /fastboot ?

2012-10-11 Thread Hugo Villeneuve
On Wed, Oct 10, 2012 at 02:44:32PM +0600, ??? wrote: > ?, 10 ??? 2012 ?. Nick Holland ?: > > > On 10/09/2012 12:55 PM, ??? wrote: > > > >> Hello! > >> > >> I'm investigating /etc/rc script. And I found the following there: > >> > >> if [ -e /fastboot ]; t

Re: the idea of /fastboot ?

2012-10-11 Thread Alexander Hall
On 10/11/12 22:27, Nick Holland wrote: On 10/11/2012 01:15 PM, Илья Шипицин wrote: 2012/10/11 Jiri B On Thu, Oct 11, 2012 at 09:29:50PM +0600, Ð?лÑ?Ñ? ШипиÑ?ин wrote: there are http access logs for half an year. this is a trivial case where using multiple file systems works wo

Re: the idea of /fastboot ?

2012-10-11 Thread Jan Stary
> > > I'm struggling with 7Tb filesystems, it takes about 30 minutes to check > > > them in case of cold reset. Too much. Very too much. > > > and currently, no journals or anything else which could speed up 7Tb > > > filesystems check ? > > > > man newfs, in particular the -i option. > > What does

Re: the idea of /fastboot ?

2012-10-11 Thread Nick Holland
On 10/11/2012 01:15 PM, Илья Шипицин wrote: 2012/10/11 Jiri B On Thu, Oct 11, 2012 at 09:29:50PM +0600, Ð?лÑ?Ñ? ШипиÑ?ин wrote: there are http access logs for half an year. this is a trivial case where using multiple file systems works wonderfully. it's easier to rotate them

Re: the idea of /fastboot ?

2012-10-11 Thread Илья Шипицин
2012/10/11 Jiri B > On Thu, Oct 11, 2012 at 09:29:50PM +0600, Ð?лÑ?Ñ? ШипиÑ?ин wrote: > > > > there are http access logs for half an year. > > it's easier to rotate them on a single filesystem from many points of > view, > > we also share it via samba (very tricky to share many chunks)

Re: the idea of /fastboot ?

2012-10-11 Thread Jiri B
On Thu, Oct 11, 2012 at 09:29:50PM +0600, �?л�?�? Шипи�?ин wrote: > > there are http access logs for half an year. > it's easier to rotate them on a single filesystem from many points of view, > we also share it via samba (very tricky to share many chunks). > > and it is bad idea to mount access

Re: the idea of /fastboot ?

2012-10-11 Thread Otto Moerbeek
On Thu, Oct 11, 2012 at 09:22:13PM +0600, ??? wrote: > 2012/10/11 Jan Stary > > > > > > Is it possible to mount dirty filesystem in read-only mode ? If not, > > it > > > > > doesn't make sense at all. > > > > > > > > Yes, you can mount dirty filesystem with -f. Even read-write iirc. > >

Re: the idea of /fastboot ?

2012-10-11 Thread Илья Шипицин
2012/10/11 Nick Holland > ... > > I'm struggling with 7Tb filesystems, it takes about 30 minutes to check >> them in case of cold reset. Too much. Very too much. >> and currently, no journals or anything else which could speed up 7Tb >> filesystems check ? >> > > Almost always (in my mind/experi

Re: the idea of /fastboot ?

2012-10-11 Thread Nick Bender
On Thu, Oct 11, 2012 at 5:24 AM, Eric Furman wrote: > On Thu, Oct 11, 2012, at 07:10 AM, Илья Шипицин wrote: >> ÓÒÅÄÁ, 10 ÏËÔÑÂÒÑ 2012 Ç. ÐÏÌØÚÏ×ÁÔÅÌØ Nick Holland > ÐÉÓÁÌ: >> >> > how it supposed >> >> to work for non-nfs filesystems ? >> >> >> > >> > "properly"? >> > >> > they'll be not checked

Re: the idea of /fastboot ?

2012-10-11 Thread Илья Шипицин
2012/10/11 Jan Stary > > > > Is it possible to mount dirty filesystem in read-only mode ? If not, > it > > > > doesn't make sense at all. > > > > > > Yes, you can mount dirty filesystem with -f. Even read-write iirc. > > > Very dangerous. > > > > > > > I'm struggling with 7Tb filesystems, it take

Re: the idea of /fastboot ?

2012-10-11 Thread Erling Westenvik
On Thu, Oct 11, 2012 at 10:09:50AM -0400, Nick Holland wrote: > > Almost always (in my mind/experience), file systems that big are bad > My /usr/ports/mind/experience appear to be broken..

Re: the idea of /fastboot ?

2012-10-11 Thread Jan Stary
> > > Is it possible to mount dirty filesystem in read-only mode ? If not, it > > > doesn't make sense at all. > > > > Yes, you can mount dirty filesystem with -f. Even read-write iirc. > > Very dangerous. > > > > I'm struggling with 7Tb filesystems, it takes about 30 minutes to check > them in ca

Re: the idea of /fastboot ?

2012-10-11 Thread Nick Holland
... I'm struggling with 7Tb filesystems, it takes about 30 minutes to check them in case of cold reset. Too much. Very too much. and currently, no journals or anything else which could speed up 7Tb filesystems check ? Almost always (in my mind/experience), file systems that big are bad design.

Re: the idea of /fastboot ?

2012-10-11 Thread Илья Шипицин
2012/10/11 Otto Moerbeek > On Thu, Oct 11, 2012 at 05:10:19PM +0600, ??? wrote: > > > ?, 10 ??? 2012 ?. Nick Holland ?: > > > > > On 10/09/2012 12:55 PM, ??? wrote: > > > > > >> Hello! > > >> > > >> I'm investigating /etc/rc script. And I found the follo

Re: the idea of /fastboot ?

2012-10-11 Thread Jérémie Courrèges-Anglas
Илья Шипицин writes: [...] >> Just one more question. > If /fastboot presents, filesystem won't be checked, right? That's what's supposed to happen. Else /fastboot wouldn't exist, I guess. > But how does fsck detects if there's /fastboot? Is it possible thing to do > without actually mount it

Re: the idea of /fastboot ?

2012-10-11 Thread Eric Furman
On Thu, Oct 11, 2012, at 07:10 AM, Илья Шипицин wrote: > ÓÒÅÄÁ, 10 ÏËÔÑÂÒÑ 2012 Ç. ÐÏÌØÚÏ×ÁÔÅÌØ Nick Holland ÐÉÓÁÌ: > > > On 10/09/2012 12:55 PM, éÌØÑ ûÉÐÉÃÉÎ wrote: > > > >> Hello! > >> > >> I'm investigating /etc/rc script. And I found the following there: > >> > >> if [ -e /fastboot ]; then > >>

Re: the idea of /fastboot ?

2012-10-11 Thread Otto Moerbeek
On Thu, Oct 11, 2012 at 05:10:19PM +0600, ??? wrote: > ?, 10 ??? 2012 ?. Nick Holland ?: > > > On 10/09/2012 12:55 PM, ??? wrote: > > > >> Hello! > >> > >> I'm investigating /etc/rc script. And I found the following there: > >> > >> if [ -e /fastboot ];

Re: the idea of /fastboot ?

2012-10-11 Thread Илья Шипицин
ÓÒÅÄÁ, 10 ÏËÔÑÂÒÑ 2012 Ç. ÐÏÌØÚÏ×ÁÔÅÌØ Nick Holland ÐÉÓÁÌ: > On 10/09/2012 12:55 PM, éÌØÑ ûÉÐÉÃÉÎ wrote: > >> Hello! >> >> I'm investigating /etc/rc script. And I found the following there: >> >> if [ -e /fastboot ]; then >> echo "Fast boot: skipping disk checks." >> elif [ X"$1" = X"auto

Re: the idea of /fastboot ?

2012-10-11 Thread Boudewijn Dijkstra
Op Wed, 10 Oct 2012 03:43:35 +0200 schreef Artturi Alm : 2012/10/10 Philip Guenther : On Tue, Oct 9, 2012 at 5:01 PM, Theo de Raadt wrote: Yes, it is a relic. You may take action against it, Ted. Don't forget to also remove the shutdown(8) bits that use it. Philip Guenther was bored,

Re: the idea of /fastboot ?

2012-10-10 Thread Илья Шипицин
ÓÒÅÄÁ, 10 ÏËÔÑÂÒÑ 2012 Ç. ÐÏÌØÚÏ×ÁÔÅÌØ Nick Holland ÐÉÓÁÌ: > On 10/09/2012 12:55 PM, éÌØÑ ûÉÐÉÃÉÎ wrote: > >> Hello! >> >> I'm investigating /etc/rc script. And I found the following there: >> >> if [ -e /fastboot ]; then >> echo "Fast boot: skipping disk checks." >> elif [ X"$1" = X"auto

Re: the idea of /fastboot ?

2012-10-09 Thread Artturi Alm
2012/10/10 Philip Guenther : > On Tue, Oct 9, 2012 at 5:01 PM, Theo de Raadt wrote: >> Yes, it is a relic. You may take action against it, Ted. > > Don't forget to also remove the shutdown(8) bits that use it. > > Philip Guenther > was bored, does this miss anything? Index: rc.8 ==

Re: the idea of /fastboot ?

2012-10-09 Thread Philip Guenther
On Tue, Oct 9, 2012 at 5:01 PM, Theo de Raadt wrote: > Yes, it is a relic. You may take action against it, Ted. Don't forget to also remove the shutdown(8) bits that use it. Philip Guenther

Re: the idea of /fastboot ?

2012-10-09 Thread Theo de Raadt
> On Tue, Oct 09, 2012 at 22:55, Илья Шипицин wrote: > > Hello! > > > > I'm investigating /etc/rc script. And I found the following there: > > > > if [ -e /fastboot ]; then > > echo "Fast boot: skipping disk checks." > > elif [ X"$1" = X"autoboot" ]; then > > echo "Automatic boot in prog

Re: the idea of /fastboot ?

2012-10-09 Thread Ted Unangst
On Tue, Oct 09, 2012 at 22:55, Илья Шипицин wrote: > Hello! > > I'm investigating /etc/rc script. And I found the following there: > > if [ -e /fastboot ]; then > echo "Fast boot: skipping disk checks." > elif [ X"$1" = X"autoboot" ]; then > echo "Automatic boot in progress: starting file system ch

Re: the idea of /fastboot ?

2012-10-09 Thread Nick Holland
On 10/09/2012 12:55 PM, Илья Шипицин wrote: Hello! I'm investigating /etc/rc script. And I found the following there: if [ -e /fastboot ]; then echo "Fast boot: skipping disk checks." elif [ X"$1" = X"autoboot" ]; then echo "Automatic boot in progress: starting file system che

the idea of /fastboot ?

2012-10-09 Thread Илья Шипицин
Hello! I'm investigating /etc/rc script. And I found the following there: if [ -e /fastboot ]; then echo "Fast boot: skipping disk checks." elif [ X"$1" = X"autoboot" ]; then echo "Automatic boot in progress: starting file system checks." hmm... if I put /fastboot, no filesystem