Jump to content

Cannonfodder

Members
  • Posts

    2898
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by Cannonfodder

  1. I bet he doesn't because he disconnected his drive during install time.

     

    Another way to look at a mount point is like this. In windows, you can define 2 partitions. They will show up as C: and D: right?

     

    In linux, you have a file system. The file system starts with the / root partition (main linux partition). Typing

     

    cd /

     

    takes you to the top of the file system.

     

    If you define a second partition, you can mount it anywhere you want. The information on this is listed in the /etc/fstab file. So if I make a folder called

     

    /mnt/secondpartition

     

    and type into /etc/fstab the info on the partition and where to mount it, it will mount it there. So I can type

     

    cd /mnt/secondpartition

     

    and view my files.

     

    My point is that in linux, you have one big tree, and you can define where a partition joins that tree by mounting it at some point in the tree.

     

    Let's say I didn't mount it. If I went to

     

    cd /mnt/secondpartition

     

    I would have no files listed. It would just be another folder.

     

    The best way to work with the fstab file is to learn to manage it manually with a text editor. Here is my fstab file..

     

    # Linux partitions
    
    /dev/hdc7 / reiserfs notail 1 1
    
    /dev/hda3 swap swap defaults 0 0
    
    /dev/hdc8 /usr reiserfs notail 1 2
    
    /dev/hdc9 /home reiserfs notail 1 2
    
    /dev/hdc10 /share reiserfs notail 1 2
    
    
    
    # CD/DVD
    
    none /mnt/cdrom supermount dev=/dev/hdb,fs=auto,ro,--,iocharset=iso8859-1,codepage=850 0 0
    
    none /mnt/cdrom2 supermount dev=/dev/scd0,fs=auto,ro,--,iocharset=iso8859-1,codepage=850 0 0
    
    none /mnt/floppy supermount dev=/dev/fd0,fs=auto,--,iocharset=iso8859-1,sync,codepage=850 0 0
    
    
    
    # HDA FAT32 partitions
    
    /dev/hda5  /mnt/software vfat user,uid=501,gid=501,exec,umask=0,codepage=850,iocharset=iso8859-1 0 0 
    
    /dev/hda6  /mnt/media ntfs defaults,umask=0 0 0
    
    
    
    
    
    # HDC FAT32 partitions
    
    /dev/hdc5  /mnt/wintemp vfat user,uid=501,gid=501,exec,umask=0,codepage=850,iocharset=iso8859-1 0 0 
    
    /dev/hdc6 /mnt/winrip vfat user,uid=501,gid=501,exec,umask=0,codepage=850,iocharset=iso8859-1 0 0 
    
    /dev/hdc11 /mnt/win2k vfat user,uid=501,gid=501,exec,umask=0,codepage=850,iocharset=iso8859-1 0 0 
    
    
    
    # Some dev
    
    none /dev/pts devpts mode=0620 0 0
    
    none /proc proc defaults 0 0

     

    Notice that the lines beginning with a # are comments. Also, any line that has vfat in it, is a windows FAT32 partition.

     

    /dev/hdc11 /mnt/win2k vfat user,uid=501,gid=501,exec,umask=0,codepage=850,iocharset=iso8859-1 0 0

     

    all the entries are the same, they have

     

    device name (/dev/hdc11)

    mount point (/mnt/win2k)

    file system type (vfat = fat32)

    additional parameters

     

    So, if you edit your /etc/fstab file, you can add an entry for your windows partition. If it is FAT32, it is vfat. If it is NTFS, it will be read only.

     

    Do some googling and searching on this board for the correct entry..

     

    To get the device type, you can run diskdrake (su to root first) and locate your windows partition.

  2. Here are 3 aliases I define for dealing with CD's and ISO images.. Put them in a file, chmod 755 it, and stick in your /etc/profile.d folder. They will always be available..

     

    # ISO aliases

    # mountiso isofile.iso mountpoint

    # cd2iso isofile.iso

    # makeiso isofile.iso directorytoISO

    function mountiso() { mount -t iso9660 -o loop -rw $1 $2; cd $2; }

    function cd2iso() { dd if=/dev/hdb of=$1; }

    function makeiso() { mkisofs -r -J -o $1 $2; } function

  3. If I could ban smoking in public places from the entire city/country, I would! The coffeeshops I frequent have smoking areas set aside, but outside on the walk, smokings is allowed. So I have a choice of sitting inside on a nice summer day or putting up with the smell of cigarette smoke. I'm not really too concerned with the health concerns but I hate the smell of nicotine and tar, bleh!

  4. OK heres the situation:

    I'm hoping to change my career and become a bar owner.  I want to give internet access and I want to use linux.  Unfortunately until tyme gets his Island I still live in the real world and need to keep my full time job ;-)

     

    My idea is the access should be free (so long as you are buying) but I need a way to easily limit the access for non-geek barstaff.  Room is limited but I also need something that can't be screwed over so I'm looking at a CD distro modified to run through a proxy server.  

    It also needs to be multilanguage etc.  so each 'user' would be a language.  

     

    I was thinking of using Xboxes (with boot from CD) since M$ mightest well subsidise the access.  They shouldn't have called it an X box unless they wanted X running on it (:-))

     

    So any ideas, what would you want?  Its a French bar so its just as much as coffee shop as a bar ....

    If you think its a waste of time say so (but say why).  Would you mind to pay (so I can recover part of the DSL costs), perhaps a subscription or per use or what.  Its not meant to be an internet cafe, I just want to provide a service to a largely student population.  

     

    Any ideas gratefully received and possibility of modestly paid work if someone can suggest anything blazingly good!

     

    Some ideas, not much about computers but..

     

    As a frequent coffee shop patron, make sure you put alot of effort into decor and ambiance. That will draw the "cool" crowd. Here's some ideas..

     

    1. Mirrors (large mirrors with written poetry on them)

    2. Brown leather/ dark place with bright colors

    3. allow dogs if you can

    4. pretty fashionable women and men serving coffee

    5. Customer support. Buy from the counter but also have employees bring it out if needed. In the evenings, take orders from tables.

    6. Music /very important!

     

    Regarding computers, I wouldn't go to overboard.. Just try a few and see whether people are coming to use it or coming to drink coffee. Just make sure your connection is decent.

     

    Also, ghost/image your systems. You can easily restore them daily or whenever needed to remove crap. Can also offer accounts for frequent customers where they can store their stuff (up to a point?)

     

    Webcams/chat... Even one or two cams.. or allow users on one computer to talk to another computer... kinda like a dating scene thing. Put the computers in different areas (not next to each other).

     

    Webcams again, streaming to the internet.. Mom, log on and look at me!

     

    Webcams again, a rotating webcam.. just ideas..

     

    Of course.. good coffee! Never take coffee from the pot until its done brewing heh!

  5. Kazaa has a bad rep as spyware... There are a ton of alternatives that play natively under linux such as Limewire, GtkGnutella, Lopster. I'm sure there are more too.

     

    Regarding video playing, urpmi mplayer is the best for watching any kind of movie (.mov, .avi, .wmv, whatever). Ogle is good for DVD watching due to its support of DVD menus. Mplayer can watch a DVD as well, but doesn't support the menus, it just plays. To get something else you have to guess what chapter/title its in.

  6. "yes" was the first thing I tried, however ls /etc/pam.d/ showed that the xscreensaver was not overwritten, is still there.

     

    IAs this the way it is supposed to work?

    I'd have thought that overwritten meant overwritten.

    :roll:

     

    Your command

     

    cp /etc/pam.d/xscreensaver /etc/pam.d/kscreensaver3

     

    means, copy xscreensaver to overwrite kscreensaver3. xscreensaver is the source and kscreensaver3 is the destination. Therefore, xscreensaver is not going to be altered. kscreensaver will be replaced.

  7. upuaut,

     

    vi Makefile

     

    vi - this is a text editor program.

    Makefile - this is a text file to be edited

     

    You do not have to use vi if you prefer another editor. Inside vi, position the cursor on second line, and type the letter i for (insert). Then type APPSONLY=1. Then hit the esc key. Now press the colon key : and type wq and press return. This means write/quit.

  8. yes, but mdkkdm is the only one that gives a list of os's to reboot to. So this doesn't solve the prob. :wink:

    oh. :oops: i just read what cannon said and decided to provide information on where the switching option was.

     

    didn't plain old kdm used to have that option tho? or am i just senile?

     

    Huh? Your reply had all the info needed to do this.. more than I typed :oops::oops:

  9. I agree, it doesn't solve the problem. I don't think the feature really saves anyone much time though. Back in 9.1 RC1, I filed a bug with Mandrake on this issue. They claimed they fixed it, but somehow, its back :)

     

    I've seen the issue brought up frequently but still haven't seen any fixes to it..

  10. I still don't get why your XF86Config file is being updated. That's why I asked what version of the XFree you selected on startup. The older file is used by older XFree. The -4 version is used by the latest.. SO if you are running the config and updating the older file, its something to double-check..

  11. You mean the OS options. WM window managers are in the login screen. This is happening due to a Mandrake bug in the Mandrake default KDM. To fix, it you need to switch to GDM. There is an option in Mandrake Control Center right now but I can't look at the moment.. Look for a setup screen for selecting a boot manager.

×
×
  • Create New...