Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

why doesn't mount mount?

55 views
Skip to first unread message

Hul Tytus

unread,
Sep 8, 2012, 3:59:36 AM9/8/12
to
comp.os.minix
why doesn't mount mount?

The command:
mount /dev/hd6 /aux
returns the error message:
mount: No such file or directory.

Anyone know what the error message implies? Is mount saying /dev/hd6 can't
be found? Fsck shows the listing below for /dev/hd6, which seems right just
after formatting by mkfs.

Hul

**************************************************
inode permission link size name
1 drwxrwxrwx 2 32 /

Checking zone map
Checking inode map
Checking inode list

blocksize = 1024 zonesize = 1024

0 Regular files
1 Directory
0 Block special files
0 Character special files
32015 Free inodes
0 Named pipes
0 Symbolic links
253992 Free zones

Giovanni

unread,
Sep 8, 2012, 6:13:28 AM9/8/12
to
On 09/08/2012 09:59 AM, Hul Tytus wrote:

> The command: mount /dev/hd6 /aux

> returns the error message: mount:
> No such file or directory.
>
> Anyone know what the error message implies? Is mount saying
> /dev/hd6 can't be found? Fsck shows the listing below for /dev/hd6,
> which seems right just after formatting by mkfs.

What about directory /aux

Ciao
Giovanni
--
A computer is like an air conditioner,
it stops working when you open Windows.
< http://giovanni.homelinux.net/ >

d...@kbrx.com

unread,
Sep 8, 2012, 8:29:58 AM9/8/12
to
> What about directory /aux

err... I hadn't thought about that. I was assuming mkfs
formatted the disk partition and left the directory name as "/".
Then mount would apply the new name. I'll see if the directory name
on the hd6 can be changed. Any suggestion as to how that should
be done?

Hul

Hul Tytus

unread,
Sep 8, 2012, 8:59:43 AM9/8/12
to
comp.os.minix
why doesn't mount mount?

The command was changed to:
mount /dev/hd6 /
and the returned error message changed also:
mount: /dev/hd6 is not a valid file system.

Mount sure is picky... Any ideas, from the fsck listing below, what causes
the invalid file system error? Or what might result in such error messages
generally?

Giovanni - thanks for noticing the wrong name. Any more suggestions from
here?

Giovanni

unread,
Sep 8, 2012, 12:18:47 PM9/8/12
to
On 09/08/2012 02:29 PM, d...@kbrx.com wrote:
>> What about directory /aux
>
> err... I hadn't thought about that. I was assuming mkfs formatted
> the disk partition and left the directory name as "/". Then mount
> would apply the new name. I'll see if the directory name on the hd6
> can be changed. Any suggestion as to how that should be done?

You have to create the directory aux on the root partition, not in the
partition you formatted.

Giovanni

unread,
Sep 8, 2012, 12:26:16 PM9/8/12
to
On 09/08/2012 02:59 PM, Hul Tytus wrote:

> The command was changed to: mount /dev/hd6 / and the returned error
> message changed also: mount: /dev/hd6 is not a valid file system.
>
> Mount sure is picky... Any ideas, from the fsck listing below, what
> causes the invalid file system error? Or what might result in such
> error messages generally?
>
> Giovanni - thanks for noticing the wrong name. Any more suggestions
> from here?

You have to create the directory aux on the root partition, not in the
partition you formatted.

Mount command require that you specify the devce and the point where
it will be mounted.

d...@kbrx.com

unread,
Sep 8, 2012, 4:30:44 PM9/8/12
to
> You have to create the directory aux on the root partition, not in the
> partition you formatted.
> Mount command require that you specify the devce and the point where
> it will be mounted.

Giovanni - by "root partition" are you refering to the root of the file
system; in other words, the lowest directory of the file system which in
this case is on the disk labeled hd0 and is operated by the driver (or
link to a driver) found at /dev/hd0, or hd1 or hd2 or hd1a etc. Or are you
refering to the lowest directory on the auxilliary disk, or intended
auxilliary disk, hd5 which is operated by the driver (or link to a driver)
at /dev/hd5 or hd6....
I am trying to mount a disk with only one partition onto the file
system previously operating from a single disk with a single partition
which is split into 2 subpartitions. Are you implying that any disk added
to a Minix system need be split into two partitions or subpartitions?
Regarding your mention of the need to create the directory "aux",
should this be added to the file system prior to using the command mount?
I'll give it a try & see what happens.

Hul

d...@kbrx.com

unread,
Sep 14, 2012, 5:30:44 PM9/14/12
to
Finished (roughly) at last. The trouble, after the directory name cleared
away (thanks Giovanni), was caused by mixing hd5 & hd6 with part & mkfs &
mount.

Hul
0 new messages