Re: File Listing

2011-01-11 Thread Pieter de Goeje
On Monday 10 January 2011 21:43:42 pe...@vfemail.net wrote:
 Is there one single-line command I can execute that will list every file in
 every directory on my FreeBSD box?  I've been fussing with the ls and du
 commands, but the output is never quite complete.

find /

Cheers, 
Pieter de Goeje
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: File Listing

2011-01-11 Thread Alexander Konotop
В Tue, 11 Jan 2011 15:26:22 +0100
Pieter de Goeje pdego...@service2media.com пишет:

 On Monday 10 January 2011 21:43:42 pe...@vfemail.net wrote:
  Is there one single-line command I can execute that will list every
  file in every directory on my FreeBSD box?  I've been fussing with
  the ls and du commands, but the output is never quite complete.
 
 find /
 
 Cheers, 
 Pieter de Goeje
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 freebsd-questions-unsubscr...@freebsd.org

Нет, не смотрел ещё. Вечером взгляну.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: File Listing

2011-01-11 Thread Chris Brennan
2011/1/11 Alexander Konotop alexander.kono...@gmail.com

  Нет, не смотрел ещё. Вечером взгляну.


What?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

Re: File Listing

2011-01-11 Thread Polytropon
On Tue, 11 Jan 2011 09:56:07 -0500, Chris Brennan xa...@xaerolimit.net wrote:
 2011/1/11 Alexander Konotop alexander.kono...@gmail.com
 
   Нет, не смотрел ещё. Вечером взгляну.
 
 
 What?

No, didn't look again, evening... is dark?
MbI roBOPNM nO-PYCCKN. :-)


-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: File Listing

2011-01-11 Thread Robert Bonomi

 From owner-freebsd-questi...@freebsd.org  Mon Jan 10 15:19:23 2011
 Date: Mon, 10 Jan 2011 15:43:42 -0500
 To: freebsd-questions@freebsd.org
 From: pe...@vfemail.net
 Subject: File Listing


 Is there one single-line command I can execute that will list every 
 file in every directory on my FreeBSD box?  I've been fussing with the 
 ls and du commands, but the output is never quite complete.

'man ls' is your friend.ls -aR / (as superuser!) is the answer.


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: File Listing -- SOLVED

2011-01-11 Thread peter

Thank you all for your prompt and helpful pointers.  


-
This message sent via VFEmail.net
http://www.vfemail.net
$14.95 Lifetime accounts!  15GB disk!  No bandwidth quotas!
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


File Listing

2011-01-10 Thread peter

Is there one single-line command I can execute that will list every file in 
every directory on my FreeBSD box?  I've been fussing with the ls and du 
commands, but the output is never quite complete.  


-
This message sent via VFEmail.net
http://www.vfemail.net
$14.95 Lifetime accounts!  15GB disk!  No bandwidth quotas!
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: File Listing

2011-01-10 Thread Bill Moran
In response to pe...@vfemail.net:
 
 Is there one single-line command I can execute that will list every file in 
 every directory on my FreeBSD box?  I've been fussing with the ls and du 
 commands, but the output is never quite complete.  

ls -aR /

will give you a complete listing, assuming you have permissions to all
the directories.  You can add other options if you want to change the
formatting of the output.  You can also do 'find /', the output of
which may be more appealing, depending on what you're trying to
accomplish.

-- 
Bill Moran
http://www.potentialtech.com
http://people.collaborativefusion.com/~wmoran/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: File Listing

2011-01-10 Thread Chuck Swiger
On Jan 10, 2011, at 12:43 PM, pe...@vfemail.net wrote:
 Is there one single-line command I can execute that will list every file in 
 every directory on my FreeBSD box?  I've been fussing with the ls and du 
 commands, but the output is never quite complete. 

du -a /
find / -type f  # remove the -type f argument if you want every file, 
instead of just normal files

Regards,
-- 
-Chuck

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: File Listing

2011-01-10 Thread Modulok
On 1/10/11, pe...@vfemail.net pe...@vfemail.net wrote:

 Is there one single-line command I can execute that will list every file in
 every directory on my FreeBSD box?  I've been fussing with the ls and du
 commands, but the output is never quite complete.

You might look into the 'tree(1)' command. It's a third party package
that can be installed as:

# pkg_add -r tree

It has lots of flags to list files in various ways. By default it
lists all files in a tree-like format like this:

tree -a /etc
.
|-- X11
|-- aliases - mail/aliases
|-- amd.map
|-- apmd.conf
|-- auth.conf
|-- bluetooth
|   |-- hcsecd.conf
|   |-- hosts
|   `-- protocols
|-- crontab
... and so on...

You can also list files with full paths without indents and such. See
man tree after its installed. Another example:

tree -aif /etc
/etc
/etc/X11
/etc/aliases - mail/aliases
/etc/amd.map
/etc/apmd.conf
/etc/auth.conf
/etc/bluetooth
/etc/bluetooth/hcsecd.conf
/etc/bluetooth/hosts
/etc/bluetooth/protocols

There's also switches for how to handle symbolic links and staying on
one file system, depth limits, file limits, etc.
-Modulok-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Incomplete file listing with Samba on ext2fs

2007-11-08 Thread Rainer Schwarze
Rainer Schwarze wrote:
 CyberLeo Kitsana wrote:
 Rainer Schwarze wrote:
 I created 1000 files named file000 ... file0999 in a directory. I
 could see all of them via Windows.

 I created 1000 files named file-.file ... file-0999.file in a
 directory. I could see the first 130 files of them.
 Are you sure this is only happening with ext2fs? You might be running
 into a filename mangling limitation in Samba.
[...]
 However, everything works well when I put the same set of files on a UFS
 volume shared by samba. 

Just an update in case someone looks for the same problem:

On the samba mailing list it was pointed out, that there are problems
with non-UFS shares. In /usr/ports/UPDATING this snippet is included
(which as it looks like I did not read carefully :-) ):

| 20070919:
|   AFFECTS: users of net/samba3
|   AUTHOR: [EMAIL PROTECTED]
[...]
|   Bug #4715 (https://bugzilla.samba.org/show_bug.cgi?id=4715) is NOT
|   fixed yet, although it won't core dump smbd process any more. Still,
|   access to the shares other than UFS is not guaranteed.

Best wishes, Rainer
-- 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Incomplete file listing with Samba on ext2fs

2007-11-06 Thread Rainer Schwarze
CyberLeo Kitsana wrote:
 Rainer Schwarze wrote:
 I created 1000 files named file000 ... file0999 in a directory. I
 could see all of them via Windows.

 I created 1000 files named file-.file ... file-0999.file in a
 directory. I could see the first 130 files of them.
 
 Are you sure this is only happening with ext2fs? You might be running
 into a filename mangling limitation in Samba.

That was my first interpretation after the test case with the filenames.
However, everything works well when I put the same set of files on a UFS
volume shared by samba. When copying the same set of files to another
directory on ext2fs the directory listings are still incomplete. It
happens with the test data as well as with real life file sets. When I
create the files starting at  I can see the files with the number
 to 0128, when I create them starting at 0999 down to , I can
see 0999 to 0871. So I think it doesn't look like filename mangling
problems.

To me it looks like smbd retrieves the first subset of files which fit
into an internal memory block, returns that and does not get the next
subset of files from the directory. I read a problem like that for
another scenario but unfortunately can't locate it any more.

Best wishes, Rainer
-- 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Incomplete file listing with Samba on ext2fs

2007-11-05 Thread Rainer Schwarze
Hi,

I've set up a FreeBSD6.2 machine and moved my file server disk from a
Linux system where it was used before. The disk uses ext2fs. In FreeBSD
I can see all files, when looking at the samba shares from a Windows
2000 system, I do not see all files. I also do not see all files when
using smbclient on FreeBSD.

A test case went like that:

I created 1000 files named file000 ... file0999 in a directory. I
could see all of them via Windows.

I created 1000 files named file-.file ... file-0999.file in a
directory. I could see the first 130 files of them.

I added this to my smb.conf, because I found related information on the
web and this fixed some problems with incomplete directory listing which
I encountered a few days ago:

   dos charset = CP850
   unix charset = UTF-8
   display charset = LOCALE

When I copy my large list of files to a UFS volume, I can see the full
listing via Windows.

Apart from switching the ext2s to ufs, does someone has other
suggestions for solving the problem?
Do you suggest another group for this question?

Thanks in advance and best wishes,
Rainer
-- 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Incomplete file listing with Samba on ext2fs

2007-11-05 Thread CyberLeo Kitsana
Rainer Schwarze wrote:
 I created 1000 files named file000 ... file0999 in a directory. I
 could see all of them via Windows.
 
 I created 1000 files named file-.file ... file-0999.file in a
 directory. I could see the first 130 files of them.

Are you sure this is only happening with ext2fs? You might be running
into a filename mangling limitation in Samba.

-- 
Fuzzy love,
-CyberLeo
Technical Administrator
CyberLeo.Net Webhosting
http://www.CyberLeo.Net
[EMAIL PROTECTED]

Furry Peace! - http://.fur.com/peace/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]