/dev/disk[whatever] are device files -- files the kernel uses to access the physical device. This physical device is then mounted to a filesystem that you can use.
You can't
because it's a device file.
Think of it a gateway to the hardware.
devfs, as I understand it, is a true device driver. It makes the /dev entries that the kernel uses.
Hi all,
I'm a Mac-user (imac se at the moment), using Mac OS 9.1
I really want to learn how to work with unix-systems.
What is the best place for me to start?
Where can i download a system?
Can i still use my imac as a software basestation for an ibook running OS 9.1?
It seems like i... (9 Replies)
I am in the process of reading up on and
learning about linux,and as i read, i am
seeing that it was built off of the unix
system platform,and i also believe that it
is used in the mac computer field,i would
like to know if this is true, and if i should
learn about the macintosh computer... (2 Replies)
Hi folks!
I am not a power user, and have been able to enable Postfix to run on my Macintosh. It was a little bit difficult for me. But I payed good attention, while following an Internet Tutorial.
Postfix version 2.1.5
I can send out emails, from local accounts or even from other... (0 Replies)
Hi all,
I have been assigned the following task;
I have a Macintosh iBook laptop computer running OSX (10.3). This computer was used to download some unwanted content from the Internet. We know by looking at the browser history that these downloads took place between May 1 and May 3.
What... (0 Replies)
Hi,
I'm trying to use sed to process some files on Macs running OSX. Anyone know anything about Macs and sed?
Here's the problem
sed 's/^/ /g' test_file > endfile
(there are spaces betwen the second and third /, but the forum software compresses them)
This should put spaces at... (3 Replies)
hello,
i am new to this forum. i own a macbook pro running mac os x 10.5.2 leopard. just wondering, if these forums will help me? i work a lot in an application called terminal, it is apples command line. i like programming and have questions, like there was a post about text scrolling, the... (2 Replies)
Discussion started by: jamesapp
2 Replies
LEARN ABOUT OPENDARWIN
lofi
lofi(7D) Devices lofi(7D)NAME
lofi - Loopback file driver
DESCRIPTION
The lofi file driver exports a file as a block device. Reads and writes to the block device are translated to reads and writes on the
underlying file. This is useful when the file contains a file system image. Exporting it as a block device through the lofi file driver
allows normal system utilities to operate on the image through the block device (like fstyp(1M)fsck(1M), and mount(1M). This is useful for
accessing CD-ROM and FAT floppy images. See lofiadm(1M) for examples.
File block device entries are contained in /dev/lofi, while /dev/rlofi contains the character (or raw) device entries. Entries are in the
form of decimal numbers which are assigned through lofiadm(1M). When created, these device entries are owned by root, in group sys, and
have permissions 0600. While ownership, group, and permission settings can be altered, there are possible ramifications. See lofiadm(1M)
for more information.
FILES
/dev/lofictl
Master control device
/dev/lofi/n
Block device for file n
/dev/rlofi/n
Character device for file n
/kernel/drv/lofi
32-bit driver
/kernel/drv/lofi.conf
Driver configuration file. (Should not be altered.)
/kernel/drv/sparcv9/lofi
64-bit driver
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsr, SUNWcarx.u |
+-----------------------------+-----------------------------+
SEE ALSO lofiadm(1M), fsck(1M), fstyp(1M), mount(1M), newfs(1M), attributes(5), lofs(7FS)NOTES
Just as you would not directly access a disk device that has mounted file systems, you should not access a file associated with a block
device except through the lofi file driver.
For compatability purposes, a raw device is also exported along with the block device. For example, newfs(1M) requires one.
SunOS 5.10 30 Jul 1999 lofi(7D)