From: Happy Oyster on
On Sun, 27 Sep 2009 22:53:51 +0100, David Bolt <blacklist-me(a)davjam.org> wrote:

>> Can't remember having seen anything about this. How can this ("adjust the size
>> of the file system") be done?
>
>Here's a some articles on it.

Thanks. I had meant: doing that with fdisk. Because I could not remember any
hint on doing that with fdisk.

But, obviously my memory was right.


>http://www.hermann-uwe.de/blog/resizing-ext3-partitions-with-parted
>http://ext4.wiki.kernel.org/index.php/Frequently_Asked_Questions#How_to_online_resize_the_Ext4_filesystem.3F
>http://www.linux.com/archive/feature/32002

That is a) old and b) something I prefer not to touch these ways... For Windows
I found one or two tools which can do a resize.

The journalling, which in the articles is mentioned, I had not thought of.
Concerning the Windows stuff I remembered the bad old days when programs made
sectors "defective" in the FAT and such sectors would not be copied as they were
"defective". These sectors, being fixed at certain spots on the HDD, were used
for copyright protection scams. I do not trust the Windows scene, so I all the
time (doing such a resize recently) was not sure if the programs would work
later...

For Linux I would use brute force: copy the files to extra HDD, delete the
partitions, make new partitions, copy files.



>and here's a few man pages:
>
>man 8 resize_reiserfs
>man 8 resize2fs
>man 8 xfs_growfs
>
>> I would do such from a normal console (#1 to #6), so not with X. But my question
>> aimed at the MUST to log in as root: to be able to mount a HDD or partition.
>
>No, you do not need to be root to mount a partition or hard drive. If
>you aren't root, you will need to use sudo to gain root privileges.

This I see as equal, because I compared it with "do the work as normal user",
which I could not imagine to be possible because of rights.
--

Interview mit dem Autor der "Reimbibel"

http://www.nrhz.de/flyer/beitrag.php?id=14183
From: DenverD on
> This way you keep the users idiots, and they cannot free themselves out of that.
> THAT is EXACTLY the Microsoft way. And THAT is EXACTLY the way NOT TO DO IT!!!
> ******************************************************************************

thank you for your highly experienced and valued opinion.

please be sure to log into KDE (GNOME, etc) as root as often as possible..

in fact, with openSUSE on YOUR machine you can set it to automatically
log in as root with each boot...that would be grand, for you..

[NOTE to kids: Don't try this at home. This is just for the Happy
Oyster...only he knows best for himself.]

and, i wish you well as you rant on, without me.

--
DenverD (Linux Counter 282315) via Thunderbird 3.0.1-1.1, KDE 3.5.7,
openSUSE Linux 10.3, 2.6.22.19-0.4-default #1 SMP i686 athlon
From: Eef Hartman on
David Bolt wrote:
> Why would you *need* to run any GUI based program for administration
> tasks?

Try to install the MatLab (Matrix Laboratory) package without access
to X, for system-wide usage.
It CAN be done, but only by people who have done it a lot of times
"the graphical way", as you have to create a "response file" with
all of the options you WOULD have chosen in the graphical interface
(like location of your FlexLM license file - it IS a commercial
package). And no, the response file doesn't exist yet, so you don't
have nice commented-out lines to choose from, you HAVE to know which
options you want and what their syntax is.

OK, you don't have to logIN as root, the install will work from an
su'd window with access to the X-server.
--
Eef Hartman, Delft University of Technology, dept. SSC/ICT
From: Eef Hartman on
Happy Oyster wrote:
> fdisk is best. Only, I forgot if it can change the size of a partition AND KEEP
> THE CONTENTS.

When the start cilinder is the same (and the end one is NOT within the
fs, it always does).
So to INcrease a partition's size:
use fdisk to remove and then recreate the partition (begin cilinder the
same as it was, end one - of course - larger)
then resize the fs within the partition
to DEcrease it is just the opposite:
first resize the fs (I mostly make it smaller then the partition will be
to save myself the exact calculation of "how large it must become"
use fdisk to resize the partition
then - if you use my method - resize the fs again to fit into the
resized partition.

All, of course, with the partition UNmounted, and when the disk is
active in some way (another partition must stay in use or so), reboot
after the fdisk commands to "reread the partition table"

> To mount one must have root right, isn't it?

No, you can delegate mount rights to normal users in the /etc/fstab, or
when using udev/hal, those daemons will handle the root rights for you
(that's why you can use a memory stick "as a normal user", the HAL
daemon will actually do the mounting cq umounting).
--
Eef Hartman, Delft University of Technology, dept. SSC/ICT
From: Happy Oyster on
On Mon, 28 Sep 2009 08:55:15 +0200, DenverD <spam.trap(a)SOMEwhere.dk> wrote:

>> This way you keep the users idiots, and they cannot free themselves out of that.
>> THAT is EXACTLY the Microsoft way. And THAT is EXACTLY the way NOT TO DO IT!!!
>> ******************************************************************************
>
>thank you for your highly experienced and valued opinion.
>
>please be sure to log into KDE (GNOME, etc) as root as often as possible..
>
>in fact, with openSUSE on YOUR machine you can set it to automatically
>log in as root with each boot...that would be grand, for you..
>
>[NOTE to kids: Don't try this at home. This is just for the Happy
>Oyster...only he knows best for himself.]
>
>and, i wish you well as you rant on, without me.

You are ignorant of engineering work, and you are proud of it. This is the
typical behavior of so many Linuxers.

It is sad.
--

Interview mit dem Autor der "Reimbibel"

http://www.nrhz.de/flyer/beitrag.php?id=14183
First  |  Prev  |  Next  |  Last
Pages: 1 2 3 4 5 6 7 8 9 10 11
Prev: useradd issue
Next: ttyUSB0 and ICS