FreeBSD Stackable File System


 
Thread Tools Search this Thread
Operating Systems BSD FreeBSD Stackable File System
# 1  
Old 04-17-2008
Error FreeBSD Stackable File System

how can we create a folder invisible to the userspace, i.e no flavor of "ls" should be able to retrieve it, it should exist and we should be able to work with it like any other folder.

Specifically, hat changes do we need to make in the kernel... I am thinking of a whiteout entry but not sure how to implement it.

Please Help.
# 2  
Old 04-18-2008
Can you tell us what is the purpose on that ? Because, for example, if I create a folder, as root, like : "mkdir -p /home/users/testFolder", chown it for example with "chown user:user /home/users/testFolder", make "chmod -R 700 /home/users/testFolder" no one else besides root will be able to ls it. For other purposes, you can use BSD jails, here's an article on Wikipedia and an article at FreeBSD's site on what is beneath the technology.
# 3  
Old 04-22-2008
I too would like to express that i wonder what the purpose of such a directory should be.

What you can do is: create a directory with filemode 700 like sysgate has told you. Only the owner (and root) can "ls" its contents. Now create a directory inside it with also filemode 700. Nobody will be able to find out about its existence because listing the contents of the parent directory is not possible.

I hope this helps.

bakunin
# 4  
Old 04-30-2008
Quote:
Originally Posted by warrior1234
how can we create a folder invisible to the userspace, i.e no flavor of "ls" should be able to retrieve it, it should exist and we should be able to work with it like any other folder.

Specifically, hat changes do we need to make in the kernel... I am thinking of a whiteout entry but not sure how to implement it.

Please Help.
Hi,
Instead of "looking for the magic tricks", another alternative could be to use encryption and there are lots of them, one is: gpgdir - Recursively encrypt and decrypt directories (that i just came across today Smilie)
But just dont stop there, do explore the darkest of areas and share them with us Smilie ...
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

UNIX file system to Linux file system migration

We would be migrating UNIX file system to Linux file system. We do have many directory and sub directories with files. after migrating unix to linux file system , i want to make sure all the files has been copied ? What would be the best approach to validate directory ,sub-directory and file... (1 Reply)
Discussion started by: balajikalai
1 Replies

2. Infrastructure Monitoring

Need help getting Loadrunner to work with freeBSD system monitoring rstatd/rup/rsysinfo

Hi there, I'm trying to use loadrunner with freebsd system monitoring tools like rstatd/rup/rsysinfo, but I keep getting this error from loadrunner: Monitor name :UNIX Resources. Internal rpc error (error code:4). Machine: 192.168.1.15. Hint: Check that RPC on this machine is up and running.... (0 Replies)
Discussion started by: echan00
0 Replies

3. UNIX for Dummies Questions & Answers

Binary file on DNS [FreeBSD]

I already installed FreeBSD.and I got default bind(9.6). I wanna install latest version(9.9),So i gonna remove 9.6 as follows: cd /usr/ports/dns/bind96 && make install clean This result: bind96 not installed, skipping I don't know why not installed.after that I ignore that and I install bind99... (4 Replies)
Discussion started by: cyberking
4 Replies

4. HP-UX

how to mount a file system from a solaris server into an hp-ux system

Hi all I wonder if its possible to mount on a hp-ux server a file system that was previously mounted on a solaris 10 server. The LUN is on NetApp stoarge. The problem on hp-ux I cannot do pvcreate on the lun (disk) because contains data. Any help will be appreciated FR (2 Replies)
Discussion started by: fretagi
2 Replies

5. BSD

FreeBSD 8.1 and OSS: system freezing

Hey all, This is my first post and I'm a brand new unix user. Just to let ya know, my technical knowledge consists of windows and linux(Ubuntu, Fedora, Sabayon, and Arch Linux), so I'm not a complete NOOB at using unix-like OSes. Anyway, I installed FreeBSD 8.1 yesterday and everything is... (0 Replies)
Discussion started by: nathanbrownitt
0 Replies

6. BSD

How to get the FreeBsd system information?

Hi, How to get the FreeBsd system hardware and software basic information using terminal command with guest login? Here below i have specified some of the information i need. Please have a look at this and guide me. OS Name: OS Version : OS Manufacturer: OS... (2 Replies)
Discussion started by: forumguest
2 Replies

7. SCO

file system not getting mounted in read write mode after system power failure

After System power get failed File system is not getting mounted in read- write mode (1 Reply)
Discussion started by: gtkpmbpl
1 Replies

8. Programming

Application crashes in FreeBSD 7.1 while working ok in FreeBSD 6.3

Hello there, My mulithreaded application (which is too large to represent the source code here) is crashing after installing FreeBSD 7.1-RELEASE/amd64. It worked properly on others machines (Dual Cores with 4GB of RAM - FreeBSD 6.2-RELEASE/i386). The current machine has 2x Core 2 Duo... (1 Reply)
Discussion started by: Seenquev
1 Replies

9. UNIX for Dummies Questions & Answers

how to mount a file system of a remote machine to local file system

Hi friends, In my case, there are serveral PCs running Linux in a LAN. I would like to to mount the directory /A_river of machine-A to the file system of another machine machine-B so that I can access files in that directory. I do not know how to do this. The situation is complicated by... (2 Replies)
Discussion started by: cy163
2 Replies

10. UNIX for Dummies Questions & Answers

Installing FreeBSD on old system?

I've never had trouble installing freebsd or any linux/unix system on any computer i've tried to do it on. I just recently aquired a Packard Bell, 75mhz Pentium, 482 i believe. Im having difficulty installing it. I have FreeBSD 5.1 on cd and the computer wont even recognize the cd on boot, so it... (2 Replies)
Discussion started by: MadProfessor
2 Replies
Login or Register to Ask a Question