Linux-Misc Digest #518, Volume #27                Tue, 3 Apr 01 08:13:03 EDT

Contents:
  where can I get explore2fs? ("You, Jin-Ho")
  Re: I would like to register a complaint ... (Floyd Davidson)
  Re: Installing Windows 9x on hdc -- can it be done? ("Eric")
  Re: Win2K messed after RH 6.1 installation (Christoph Kukulies)
  rpc.nfsd: nfssvc: Function not implemented (Christoph Kukulies)
  Re: Win2K messed after RH 6.1 installation ("Eric")
  Re: Installing Windows 9x on hdc -- can it be done? ("David E. Smith")
  Star Office question (Vladimir Florinski)
  How to setup the secure (ssh based) Xterminal? (Wojciech Zabolotny)
  Re: Mounting ZIP/Jaz in multiple formats (Trevor Jenkins)
  change the limit of open files per process ("Sasha Voznesensky")
  need help with tv tuner card and xaw tv ("Andrew Diaczyk")
  Eazel: whats the big deal? (Tom De Boeser)
  Re: difference between ext2fs and raiserfs ("Andy Walker")

----------------------------------------------------------------------------

From: "You, Jin-Ho" <[EMAIL PROTECTED]>
Subject: where can I get explore2fs?
Date: Tue, 03 Apr 2001 17:23:32 +0900

Hello,

I can't connect the explore2fs's homepage,
http://uranus.it.swin.edu.au/~jn/linux/explore2fs.htm.
I am searching for other sites to get it.

Jin Ho You

------------------------------

From: Floyd Davidson <[EMAIL PROTECTED]>
Subject: Re: I would like to register a complaint ...
Date: 02 Apr 2001 22:31:40 -0800

KCmaniac <[EMAIL PROTECTED]> wrote:
>I realize this isn't the argument clinic, but I would like to register a
>complaint.
>
>There is a very fundemental concept in the DOS/Windows world of being
>able to format a partition, after which you can begin again compiling
>data into that empty but very much functional partition.  WHY DOESN'T
>LINUX HAVE AN EQUIVALENT COMMAND/FUNCTION???

It is trivially easy to determine that Linux does have exactly such
a command.

>Sorry for the big letters but I am now extremely frustrated over Linux's
>apparent inability to clear a partition of all its data and to be able
>to just simply begin again.  Instead, it appears that you have to jump
>through a bunch of hoops and all of which I have not yet found.
>
>Without getting into the why's and what for's, formatting a partition in
>the DOS/Windows world is a legimate and useful function when it is the
>desired thing to do.
>
>Is there anybody out there that knows enough about Linux/Unix
>filesystems that can tell me why this function is not available and if
>it is what is it?
>
>It looks like I am going to have to use Linux's fdisk to change the what
>"root sector??" of the partition to tell the DOS format function that it
>is a FAT32 filesystem even when it is not but just so it will format it
>in such a way that I can reuse it.  

You must be kidding.  What is *that* supposed to do?

>After the DOS format is done
>clearing the partition I will then have to change the partitions "ID"
>back to Linux native and use the mke2fs to remake the ext2 filesystem.
>At that point I should have clean and empty ext2 partition. 

At that point you can use mke2fs (or mkfs with the right options) to
reformat the partition as a ext2 filesystem.  You could also skip
all of your silly ideas of using DOS commands, and just *start* with
mke2fs, and the results will be _identical_.

> So far this
>is the only thing I can think of to achieve this desire goal.  I tried
>at the suggestion of someone in this newsgroup to use:
>
>dd if=/dev/zero 0f=/dev/hdxX : where hdxX is a partition but this
>apparently write zeros over everything including important locations
>such as what makes up a superblock that Linux apparently very much
>needs.  This superblock needs to be recreated but the ext2 partition is
>just not the same after that.  Something is a miss when doing this
>method.

Then you didn't do it right.  Read the man pages for mke2fs and do it
again.

>Is there any body out there who knows enough to give me a workable
>solution.  I just can't understand why Linux does not perform this very
>simple yet powerful function over its own filesystem.

Maybe if you begin by carefully reading the man pages?

If your partition is, for example, /dev/hda3 you can do the 
following:

  /sbin/mke2fs /dev/hda3

And you quickly will lose access to all the data that was on the
original filesystem and instead you will have a new, empty,
filesystem.

Now, that is not to say that all of the data on the disk was
totally zapped.  All that happened was the means of accessing it
as a filesystem was overwritten with an empty set of filesystem
records, which happens to be exactly what the DOS "format"
command does too.  You haven't indicated that you need to
overwrite all of the original data so I just don't think you
need to write to the disk with dd.  but if you want to, the
command you gave above should work just fine.  I would recommend
doing that only if you are selling the computer to someone else
and don't want them to try recreating any of your files.
Overwriting it once will keep most people from accomplishing
that, but if you have nuclear secrets on your hard disk it is
good to be aware that any of the three letter agencies with any
of the nuclear powers or wannabe nuclear powers can still read
your disk even if you overwrite it 5 or 10 times. :-(

Whatever, after it is finished, use mke2fs as above to recreate
an empty filesystem.

If you haven't yet gotten the clue, the DOS "format" command has
exactly the same functionality as mke2fs, except that mke2fs is
somewhat more sophisticated and has considerably more flexibility
and functionality.

-- 
Floyd L. Davidson         <http://www.ptialaska.net/~floyd>
Ukpeagvik (Barrow, Alaska)                 [EMAIL PROTECTED]

------------------------------

From: "Eric" <[EMAIL PROTECTED]>
Subject: Re: Installing Windows 9x on hdc -- can it be done?
Date: Tue, 3 Apr 2001 10:37:42 +0200

> I know about the whole lilo map-drive hack that will convince some OSes
> that it's really on the first hard drive even when it isn't. But will that
> work with Win95/98/NT/whatever? Since they all seem to want to install
> special drivers for the hard drive, I'm inclined to think I may be outta
> luck here.

connect it temporarily as hda, or disble hda temporarily.
then install windows. After the install change the disks back to the
position they
are in now. Then you can use the map-drive commands.

> (Related to the map-drive hack: I know hda would be 0x80, but is hdc 0x81
> or 0x82? I'm not sure how having hdb, a DVD-ROM drive, affects the
> numbering.)

it's 0x81.
CD/DVD's don't get a BIOS hdd number assigned.

> Has anyone had any luck with a setup even vaguely like this? I don't have
> the resources to back up 20GB of data, so I want to be pretty darn sure
> things will work before I start playing (or before I spend a couple
> hundred bucks on Windows).

It can be done, no problem.

> And another related question: To install Windows, presumably, I'll have to
> boot from a CD, or a floppy, or something that's not lilo. How can I get
> the drives renumbered, then boot from such auxiliary media? Is lilo that
> clever? (I'm working through the docs, but there's a LOT of 'em.)

> Assuming it does work: What's the status of the various hacks to get
> Windows to read ext2 filesystems? If I can get to my MP3 collection,
> that'll make me even happier. :-)

It would be easier if you put those on a FAT FS.

Eric



------------------------------

From: Christoph Kukulies <[EMAIL PROTECTED]>
Subject: Re: Win2K messed after RH 6.1 installation
Date: 3 Apr 2001 09:22:45 GMT

Eric <[EMAIL PROTECTED]> wrote:
:> I installed RH 6.1 (yes there are newer version but I need to stay
:> in sync with my other machines) over an existing Win2000.

It should have been alongside, of course, but one never knows
what RH installers (disk druid) are capable of.


: over it? or alongside? There's a big difference.

:> After that win2k cannot boot anymore. NTLDR.SYS not found or something.

: how do you try to boot it?

LILO: dos


:> What can I do about it?

: mount the logicals inside. (hda5 to hda8) The mount command was
: very clear about this.

: If there was a win2k D: it's gone now. You installed linux right over it.


So "over" was correct, above? :-> rats!
How come? 6.1 disk druid cannot cope with win2k partitions?


: Eric


-- 
Chris Christoph P. U. Kukulies [EMAIL PROTECTED]

------------------------------

From: Christoph Kukulies <[EMAIL PROTECTED]>
Subject: rpc.nfsd: nfssvc: Function not implemented
Date: 3 Apr 2001 09:29:32 GMT

I'm running RH 6.1 and I installed a 2.2.17-14  kernel recently.

Since then I I'm getting theses messages during nfs startup:

Apr  2 13:40:34 host26 nfs: Starting NFS services:  succeeded
Apr  2 13:40:34 host26 nfs: rpc.rquotad startup succeeded
Apr  2 13:40:35 host26 nfs: rpc.mountd startup succeeded
Apr  2 13:40:35 host26 rpc.nfsd: nfssvc: Function not implemented
Apr  2 13:40:35 host26 nfs: rpc.nfsd startup failed

Also, when doing a

/etc/rc.d/init.d/nfs restart

I'm getting:

[root@host26 script]# ./nfs restart
host16.physik.rwth-aachen.de:/mnt/home/host26: Function not implemented
host14.physik.rwth-aachen.de:/mnt/home/host26: Function not implemented
host12.physik.rwth-aachen.de:/mnt/home/host26: Function not implemented
host11.physik.rwth-aachen.de:/mnt/home/host26: Function not implemented
host05.ph

for every line in /etc/exports.

Something mismatching? libc? kernel utils?

-- 
Chris Christoph P. U. Kukulies [EMAIL PROTECTED]

------------------------------

From: "Eric" <[EMAIL PROTECTED]>
Subject: Re: Win2K messed after RH 6.1 installation
Date: Tue, 3 Apr 2001 11:38:58 +0200

> :> I installed RH 6.1 (yes there are newer version but I need to stay
> :> in sync with my other machines) over an existing Win2000.
>
> It should have been alongside, of course, but one never knows
> what RH installers (disk druid) are capable of.

nevr choose the automated options. It may look easier, but it hardly ever
is,
if you want more than dedicate a HDD to linux.

> : over it? or alongside? There's a big difference.
>
> :> After that win2k cannot boot anymore. NTLDR.SYS not found or something.
>
> : how do you try to boot it?
>
> LILO: dos

what's in lilo.conf?
is it correct?

>
> :> What can I do about it?
>
> : mount the logicals inside. (hda5 to hda8) The mount command was
> : very clear about this.
>
> : If there was a win2k D: it's gone now. You installed linux right over
it.
>
>
> So "over" was correct, above? :-> rats!
> How come? 6.1 disk druid cannot cope with win2k partitions?

It does handle those partitions like any other. They can be deleted
or created, but that's about it. You probably got one deleted.

Eric



------------------------------

From: "David E. Smith" <[EMAIL PROTECTED]>
Subject: Re: Installing Windows 9x on hdc -- can it be done?
Date: Tue, 3 Apr 2001 09:50:12 +0000

Last time, on the hit series comp.os.linux.misc,
Eric shocked the world by saying:

[ installing Win on a Linux system ]

> connect it temporarily as hda, or disble hda temporarily.

See, that's what I was afraid of. Does it genuinely fail to occur to 
anyone at Microsoft that this isn't actually a good idea? This has been my 
biggest point of resistance to installing Windows: I figured I'd have to 
pop the case open and juggle cables, and IMO that's just something I 
shouldn't be forced to do.

Okay, I feel better now.

>> (Related to the map-drive hack: I know hda would be 0x80, but is hdc 0x81
>> or 0x82? I'm not sure how having hdb, a DVD-ROM drive, affects the
>> numbering.)

> it's 0x81.
> CD/DVD's don't get a BIOS hdd number assigned.

Cool. Since you can boot from CDs these days, I wasn't sure.


>> Assuming it does work: What's the status of the various hacks to get
>> Windows to read ext2 filesystems? If I can get to my MP3 collection,
>> that'll make me even happier. :-)

> It would be easier if you put those on a FAT FS.

Yeah, but then I'll have to recompile my kernel... :-)

Thanks for the assist!

...dave

------------------------------

From: Vladimir Florinski <[EMAIL PROTECTED]>
Subject: Star Office question
Date: Tue, 03 Apr 2001 02:48:30 -0700

I seem to be unable to figure out how to apply page stypes in Star Office. I
want various pages in the document to have different margins. In order to achive
this I created several page styles. However, when I apply a style to a page, all
the other pages are changed to that style as well. The question is, how can I
change page style for any particular page?
-- 


Vladimir

------------------------------

From: Wojciech Zabolotny <[EMAIL PROTECTED]>
Subject: How to setup the secure (ssh based) Xterminal?
Date: Tue, 3 Apr 2001 12:26:48 +0200

Hi All,

I need to setup the secure, open-ssh based Xterminals.
It may work that way:
1) On startup just the Xserver is run at :0 
2) The user logs in, and the DISPLAY is set to ":0"
3) The user logs to the remote server with the "slogin -X -l user  remote.server"
4) Finally the user should run the window manager (in fact that command
   may be added to the slogin command line).

And the step 4 causes the trouble, because each of the used remote servers
may use different window manager... :-(
Is there any way to start the standard Xsession (just like after running
"startx") but from the ssh forwarded connection?
(Or OTOH: is it possible to tell startx not to run the Xserver but to 
utilize the DISPLAY variable?)

-- 
                        TIA for any suggestions/hints
                        Regards
                        Wojciech Zabolotny
                        [EMAIL PROTECTED]

If the dynamic growth is a sign of health, then a cancer is the healthiest
part of the body...


------------------------------

From: Trevor Jenkins <[EMAIL PROTECTED]>
Subject: Re: Mounting ZIP/Jaz in multiple formats
Date: Tue, 03 Apr 2001 11:00:56 +0000

Trevor Jenkins wrote:

My thanks for Vladimir and Matt G who provided me with answers to my
original question: 

> What amendments should I make to /etc/fstab so that I can mount an
> arbitrary Jaz/Zip disk? Of course, I'll know what format the disk is in
> but do I need to specifiy this on the mount?.

Now that I'm trying to follow that advice I get an error when I mount
either a Zip or Jaz disk. :-(
The mount utility says

     mount: /dev/scd5 has wrong major or minor number

when I try to use the Zip drive and similarly (but complains about scd4)
for the jaz.

In /etc/fstab I put

/dev/scd4               /mnt/jaz                auto    noauto,user    
0 0
/dev/scd5               /mnt/zip                auto    noauto,user    
0 0

and for these devices /dev/scd* gives 

brw-rw----    1 root     disk      11,   4 May  5  1998 /dev/scd4
brw-rw----    1 root     disk      11,   5 May  5  1998 /dev/scd5

The CD-ROM drive is hung off the same controller and it's /dev entry
gives

brw-------    1 trevor   disk      11,   0 May  5  1998 /dev/scd0

Same controller. So I'd expect same major number and the minors to
reflect the LUN of the device.

Anyone able to help?

-- 
Regards, Trevor

British Sign Language is not inarticulate handwaving; it's a living
language.
Support the campaign for formal recognition by the British government
now!

-- 

<>< Re: deemed!

------------------------------

From: "Sasha Voznesensky" <[EMAIL PROTECTED]>
Subject: change the limit of open files per process
Date: Tue, 3 Apr 2001 12:54:08 +0200

Hello everyone,

I'm looking for a way to change the hard limit of open files per process to
around 10 000.
How can I do that?

thanks
Sasha



------------------------------

From: "Andrew Diaczyk" <[EMAIL PROTECTED]>
Crossposted-To: 
alt.binaries.warez.linux,alt.linux,alt.os.linux,comp.os.linux,comp.os.linux.hardware,comp.os.linux.help,comp.os.linux.questions
Subject: need help with tv tuner card and xaw tv
Date: Tue, 03 Apr 2001 11:21:26 GMT

I have a pinacle systems studio pc tv card.  My computer runs red hat 6.2.
It seems to find the card when it starts up.   How do I setup the tuner and
xawtv.  Reply to [EMAIL PROTECTED]



------------------------------

From: Tom De Boeser <[EMAIL PROTECTED]>
Subject: Eazel: whats the big deal?
Date: Tue, 3 Apr 2001 07:29:41 -0400

Hi,

  The press is impressed, but I'm not sure why.  I haven't downloaded it 
yet, 
I find 100megs and lots of incompatibly/requirements a bit much.  I don't 
have 
all the requirements, but I can make it work if its worth it.  I'm wondering 
if anybody else is using it and can tell me why I should download and use 
it.



Thanks,



Tom

============================================================
 Get your FREE web-based e-mail and newsgroup access at:
                http://MailAndNews.com

 Create a new mailbox, or access your existing IMAP4 or
 POP3 mailbox from anywhere with just a web browser.
============================================================


------------------------------

From: "Andy Walker" <[EMAIL PROTECTED]>
Subject: Re: difference between ext2fs and raiserfs
Date: Tue, 3 Apr 2001 12:53:44 -0000


Dances With Crows wrote in message
<3ac547ec$0$12823$[EMAIL PROTECTED]>...
>On Fri, 30 Mar 2001 18:51:30 -0000, Andy Walker staggered into the Black
>Sun and said:
>>Goophy wrote in message ...
>>>whats the difference between ext2fs and raiserfs.
>>>and how do these to filesystems work?
>>Reiserfs is a journalising file system. This roughly translates as a
>>filesystem that is much less succeptable to corruption than ext2. One
>>of the main things it does in difference to ext2 is when saving a file
>>it verifies that it is saved before deleting the old file. In the event
>
>(NOTE:  I am not a filesystem guru; please feel free to correct me if
>I've misrepresented things here.)
>
>?  Not quite... ReiserFS keeps a filesystem log ("journal") and it goes
>sort of like this:
>0.  Write to log, "I am going to write file X"
>1.  Write file X
>2.  Remove log entry written in step 0
>
>Filesystem integrity is preserved in almost all cases.  If a crash
>occurs during step 0, bad log entries are removed on the next mount.  If
>a crash occurs during step 1, on the next mount, the driver checks the
>log and writes file X if it hasn't been written yet.  (Note that this
>also catches what happens if a crash occurs during step 2!)
>
>Not to mention that it keeps directory entries in a B-tree for efficient
>handling of directories that contain a *lot* of files.  This also makes
>the operation of tools like "find" very quick.
>
>>Most common distributions such as RedHat, SuSe and Mandrake already
>>allow reiserfs even though it is still in it's beta testing stage.
>>It's only shortcoming is that I don't believe it is bootable hence you
>>will still need an ext2 boot partition.
>
>That's another feature.  ReiserFS does something called "tail packing"
>on files, which AFAIK involves moving files around on disk so that the
>B-tree is balanced, making for more efficient operation.  Since LILO
>must know the exact positions of all the sectors where the kernel image
>and the loading map reside.  If ReiserFS shuffles /boot/vmlinuz or
>/boot/map around like that, LILO will not be able to find the kernel on
>the next boot!
>
>You can work around this by making a ReiserFS /boot partition and
>*always* mounting it with the "notail" option.  Recent versions of LILO
>can grok this.  Note that you really want to make a /boot partition if
>you do this; putting "notail" on / or /usr or /home could cause
>performance degradation.
>
>
>--
>Matt G|There is no Darkness in Eternity/But only Light too dim for us to
see
>Brainbench MVP for Linux Admin /  Workin' in a code mine, hittin' Ctrl-Alt
>http://www.brainbench.com     /   Workin' in a code mine, whoops!
>-----------------------------/    I hit a seg fault....



Well I've learnt a thing or two! I hope I didn't get it too wrong and
mislead you totally, just trying to pass on the little I know!
While we are on the subject, is there any sort of agreement to a standard
new filesystem for Linux? I heard mention of ext3 but how good is it? In my
experience, other than the boot limitations which aren't really a problem,
ReiserFS is extremely stable and can't be far off from being considered a
finished product.
I've been using it with software RAID and the performance is quite
impressive with four SCSI disks in RAID0! Who wants crap ATA100 drives, they
only waste interrupts!



------------------------------


** FOR YOUR REFERENCE **

The service address, to which questions about the list itself and requests
to be added to or deleted from it should be directed, is:

    Internet: [EMAIL PROTECTED]

You can send mail to the entire list by posting to comp.os.linux.misc.

Linux may be obtained via one of these FTP sites:
    ftp.funet.fi                                pub/Linux
    tsx-11.mit.edu                              pub/linux
    sunsite.unc.edu                             pub/Linux

End of Linux-Misc Digest
******************************

Reply via email to