Re: file sizes
Thanks. Just what I was looking for. On Wed, 12 Nov 2003 23:12:30 +0100 Jakob Breivik Grimstveit <[EMAIL PROTECTED]> wrote: > On Thu, 2003-11-13 at 00:01, Bryan Cassidy wrote: > > > Trying to figure out how to find out the size of a file. > > Try... > > ls -l > ls -lh > du -h > > -- > Jakob Breivik Grimstveit, http://www.grimstveit.no/~jakob, +47 48298152 > ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: file sizes
> > Trying to figure out how to find out the size of a file. > Check man ls for "ls -l" jerry > thanks > ___ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: file sizes
In the last episode (Nov 12), Bryan Cassidy said: > Trying to figure out how to find out the size of a file. ls -l myfile -- Dan Nelson [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: file sizes
On Thu, 2003-11-13 at 00:01, Bryan Cassidy wrote: > Trying to figure out how to find out the size of a file. Try... ls -l ls -lh du -h -- Jakob Breivik Grimstveit, http://www.grimstveit.no/~jakob, +47 48298152 signature.asc Description: This is a digitally signed message part
file sizes
Trying to figure out how to find out the size of a file. thanks ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Wrong file sizes in the stand directory
On Mon, Dec 09, 2002 at 08:20:58AM +1100, [EMAIL PROTECTED] wrote: > Hi, I installed the 4.7-mini.iso and found the following: > > total 70766 > -r-xr-xr-x 33 root wheel 2175016 Oct 10 01:09 -sh > -r-xr-xr-x 33 root wheel 2175016 Oct 10 01:09 [ > Everything else is OK, fsck reports a clean system, df sees normal size. > What's the problem? What do you believe to be the problem (you didn't say) ? If you're referring to the fact that they all have the same size, it's because they (mostly) all the same file. > -r-xr-xr-x 33 root wheel 2175016 Oct 10 01:09 zcat See that there are 33 hardlinks to this file. Ceri -- Your cowardice shall be your last breath! To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Wrong file sizes in the stand directory
Hi, I installed the 4.7-mini.iso and found the following: total 70766 -r-xr-xr-x 33 root wheel 2175016 Oct 10 01:09 -sh -r-xr-xr-x 33 root wheel 2175016 Oct 10 01:09 [ -r-xr-xr-x 33 root wheel 2175016 Oct 10 01:09 arp -r-xr-xr-x 33 root wheel 2175016 Oct 10 01:09 boot_crunch -r-xr-xr-x 33 root wheel 2175016 Oct 10 01:09 camcontrol -r-xr-xr-x 33 root wheel 2175016 Oct 10 01:09 cpio -r-xr-xr-x 33 root wheel 2175016 Oct 10 01:09 dhclient -r-xr-xr-x 1 root wheel 7175 Oct 10 01:18 dhclient-script drwx-- 3 root wheel 512 Dec 8 07:01 etc -r-xr-xr-x 33 root wheel 2175016 Oct 10 01:09 find -r-xr-xr-x 33 root wheel 2175016 Oct 10 01:09 fsck -r-xr-xr-x 33 root wheel 2175016 Oct 10 01:09 gunzip -r-xr-xr-x 33 root wheel 2175016 Oct 10 01:09 gzip drwxr-xr-x 2 root wheel 1024 Dec 8 07:01 help -r-xr-xr-x 33 root wheel 2175016 Oct 10 01:09 hostname -r-xr-xr-x 33 root wheel 2175016 Oct 10 01:09 ifconfig -r-xr-xr-x 33 root wheel 2175016 Oct 10 01:09 minigzip drwxr-xr-x 2 root wheel 512 Dec 8 07:01 modules -r-xr-xr-x 33 root wheel 2175016 Oct 10 01:09 mount_mfs -r-xr-xr-x 33 root wheel 2175016 Oct 10 01:09 mount_nfs -r-xr-xr-x 33 root wheel 2175016 Oct 10 01:09 newfs -r-xr-xr-x 33 root wheel 2175016 Oct 10 01:09 pccardc -r-xr-xr-x 33 root wheel 2175016 Oct 10 01:09 pccardd -r-xr-xr-x 33 root wheel 2175016 Oct 10 01:09 ppp -r-xr-xr-x 33 root wheel 2175016 Oct 10 01:09 pwd -r-xr-xr-x 33 root wheel 2175016 Oct 10 01:09 rm -r-xr-xr-x 33 root wheel 2175016 Oct 10 01:09 route -r-xr-xr-x 33 root wheel 2175016 Oct 10 01:09 rtsol -r-xr-xr-x 33 root wheel 2175016 Oct 10 01:09 sed -r-xr-xr-x 33 root wheel 2175016 Oct 10 01:09 sh -r-xr-xr-x 33 root wheel 2175016 Oct 10 01:09 slattach -r-xr-xr-x 33 root wheel 2175016 Oct 10 01:09 sysinstall -r-xr-xr-x 33 root wheel 2175016 Oct 10 01:09 test -r-xr-xr-x 33 root wheel 2175016 Oct 10 01:09 tunefs -r-xr-xr-x 33 root wheel 2175016 Oct 10 01:09 usbd -r-xr-xr-x 33 root wheel 2175016 Oct 10 01:09 usbdevs -r-xr-xr-x 33 root wheel 2175016 Oct 10 01:09 zcat Everything else is OK, fsck reports a clean system, df sees normal size. What's the problem? Thanks. DS To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: Always mystified by this. /stand file sizes
On Mon, Dec 02, 2002 at 11:34:50AM +, Rob O'Donnell wrote: > At 12:21 02/12/2002 +0100, Cliff Sarginson wrote: > >On Mon, Dec 02, 2002 at 02:25:59AM -0800, David Schultz wrote: > >> > >> See crunchgen(1). > > > >Oh, that looks interesting :) > >I never knew of such a thing, is it a well kept secret or am I not > >widely read-enough ? > >In point of fact I am slightly puzzled by /stand's existance. It says in > >"hier" that it is for stand-alone systems. What exactly is it referring > >to ? (Yes I know what stand-alone means ! But what context is this used > >in ?) > > PicoBSD (see the scripts in ports and the freebsd-small mailing list) uses > it extensively to fit a subset of commands onto small media (typically a > single floppy disc) for use in niche aplications (eg a diskless pc as a > router). > Ok, mmm, will file that away for future reference. That's my first bit of new knowledge for the week, and it's only Monday :) -- Regards Cliff Sarginson The Netherlands [ This mail has been checked as virus-free ] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: Always mystified by this. /stand file sizes
At 12:21 02/12/2002 +0100, Cliff Sarginson wrote: On Mon, Dec 02, 2002 at 02:25:59AM -0800, David Schultz wrote: > > See crunchgen(1). Oh, that looks interesting :) I never knew of such a thing, is it a well kept secret or am I not widely read-enough ? In point of fact I am slightly puzzled by /stand's existance. It says in "hier" that it is for stand-alone systems. What exactly is it referring to ? (Yes I know what stand-alone means ! But what context is this used in ?) PicoBSD (see the scripts in ports and the freebsd-small mailing list) uses it extensively to fit a subset of commands onto small media (typically a single floppy disc) for use in niche aplications (eg a diskless pc as a router). Rob -- APH Computers Ltd. Tel: 0161-442 2603 Fax: 0161-443 1162 To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: Always mystified by this. /stand file sizes
On Mon, Dec 02, 2002 at 02:25:59AM -0800, David Schultz wrote: > Thus spake Cliff Sarginson <[EMAIL PROTECTED]>: > > I have been meaning to ask this since I started using FreeBSD but have > > never dared to, since I thought I ought to know :) > > Excerpt from /stand > > > > -r-xr-xr-x 31 root wheel 1865544 Sep 18 2001 -sh > > -r-xr-xr-x 31 root wheel 1865544 Sep 18 2001 [ > > -r-xr-xr-x 31 root wheel 1865544 Sep 18 2001 arp > > -r-xr-xr-x 31 root wheel 1865544 Sep 18 2001 boot_crunch > > -r-xr-xr-x 31 root wheel 1865544 Sep 18 2001 cpio > > -r-xr-xr-x 31 root wheel 1865544 Sep 18 2001 dhclient > > .. > > etc > > > > What does this mean all these things of size 1865544. > > And where is /stand exactly ? It certainly isn't taking up all > > this space on root... > > See crunchgen(1). Oh, that looks interesting :) I never knew of such a thing, is it a well kept secret or am I not widely read-enough ? In point of fact I am slightly puzzled by /stand's existance. It says in "hier" that it is for stand-alone systems. What exactly is it referring to ? (Yes I know what stand-alone means ! But what context is this used in ?) -- Regards Cliff Sarginson The Netherlands [ This mail has been checked as virus-free ] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: Always mystified by this. /stand file sizes
Thus spake Cliff Sarginson <[EMAIL PROTECTED]>: > I have been meaning to ask this since I started using FreeBSD but have > never dared to, since I thought I ought to know :) > Excerpt from /stand > > -r-xr-xr-x 31 root wheel 1865544 Sep 18 2001 -sh > -r-xr-xr-x 31 root wheel 1865544 Sep 18 2001 [ > -r-xr-xr-x 31 root wheel 1865544 Sep 18 2001 arp > -r-xr-xr-x 31 root wheel 1865544 Sep 18 2001 boot_crunch > -r-xr-xr-x 31 root wheel 1865544 Sep 18 2001 cpio > -r-xr-xr-x 31 root wheel 1865544 Sep 18 2001 dhclient > .. > etc > > What does this mean all these things of size 1865544. > And where is /stand exactly ? It certainly isn't taking up all > this space on root... See crunchgen(1). To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: Always mystified by this. /stand file sizes
On Mon, Dec 02, 2002 at 07:50:30AM +0100, Ruben de Groot wrote: > On Mon, Dec 02, 2002 at 07:38:15AM +0100, Cliff Sarginson typed: > > I have been meaning to ask this since I started using FreeBSD but have > > never dared to, since I thought I ought to know :) > > Excerpt from /stand > > > > -r-xr-xr-x 31 root wheel 1865544 Sep 18 2001 -sh > > -r-xr-xr-x 31 root wheel 1865544 Sep 18 2001 [ > > -r-xr-xr-x 31 root wheel 1865544 Sep 18 2001 arp > > -r-xr-xr-x 31 root wheel 1865544 Sep 18 2001 boot_crunch > > -r-xr-xr-x 31 root wheel 1865544 Sep 18 2001 cpio > > -r-xr-xr-x 31 root wheel 1865544 Sep 18 2001 dhclient > > > Look at the hard link count (31). It's just one binary, which will behave >differently > depending on the name you call it by. > Yes. I should have noticed that. Now I do :) -- Regards Cliff Sarginson The Netherlands [ This mail has been checked as virus-free ] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: Always mystified by this. /stand file sizes
On Mon, Dec 02, 2002 at 07:38:15AM +0100, Cliff Sarginson typed: > I have been meaning to ask this since I started using FreeBSD but have > never dared to, since I thought I ought to know :) > Excerpt from /stand > > -r-xr-xr-x 31 root wheel 1865544 Sep 18 2001 -sh > -r-xr-xr-x 31 root wheel 1865544 Sep 18 2001 [ > -r-xr-xr-x 31 root wheel 1865544 Sep 18 2001 arp > -r-xr-xr-x 31 root wheel 1865544 Sep 18 2001 boot_crunch > -r-xr-xr-x 31 root wheel 1865544 Sep 18 2001 cpio > -r-xr-xr-x 31 root wheel 1865544 Sep 18 2001 dhclient Look at the hard link count (31). It's just one binary, which will behave differently depending on the name you call it by. > .. > etc > > What does this mean all these things of size 1865544. > And where is /stand exactly ? It certainly isn't taking up all > this space on root... > > I feel today is the day I will finally know...I have given up trying to > work it out. > > Please feel free to chastise me .. as someone who has worked on Unix > systems for a long time, I feel I should know... > > -- > Regards >Cliff Sarginson >The Netherlands > > [ This mail has been checked as virus-free ] > > To Unsubscribe: send mail to [EMAIL PROTECTED] > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Always mystified by this. /stand file sizes
I have been meaning to ask this since I started using FreeBSD but have never dared to, since I thought I ought to know :) Excerpt from /stand -r-xr-xr-x 31 root wheel 1865544 Sep 18 2001 -sh -r-xr-xr-x 31 root wheel 1865544 Sep 18 2001 [ -r-xr-xr-x 31 root wheel 1865544 Sep 18 2001 arp -r-xr-xr-x 31 root wheel 1865544 Sep 18 2001 boot_crunch -r-xr-xr-x 31 root wheel 1865544 Sep 18 2001 cpio -r-xr-xr-x 31 root wheel 1865544 Sep 18 2001 dhclient .. etc What does this mean all these things of size 1865544. And where is /stand exactly ? It certainly isn't taking up all this space on root... I feel today is the day I will finally know...I have given up trying to work it out. Please feel free to chastise me .. as someone who has worked on Unix systems for a long time, I feel I should know... -- Regards Cliff Sarginson The Netherlands [ This mail has been checked as virus-free ] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message