Re: [Fedora] about mail

2011-09-14 Thread xinyou yan
Thanks for all you answers . I find a tools from the gmail lab. I can put the mails to a label . 2011/9/14 Joachim Backes : > On 09/14/2011 07:14 AM, Tim wrote: >> On Wed, 2011-09-14 at 10:23 +0800, xinyou yan wrote: >>> I suggest we put [Fedora] in subject .So we can find the

[Fedora] about mail

2011-09-13 Thread xinyou yan
I suggest we put [Fedora] in subject .So we can find the mail for the list . -- 嘉谟之行 “昔我往矣,杨柳依依 ; 今我来思 ,雨雪霏霏” -- users mailing list users@lists.fedoraproject.org To u

Re: [fedora] dd

2011-09-04 Thread xinyou yan
Yes , May be it is a problem. I want to know what method can i decompress the file compressed by gzip to some files . Can I decompress the compressed file from some position in the file ? The decompress the left one ? (As the file created by gzip -c xxx >> yy gzip -c xxx1 >> yy) > You should

Re: [fedora] dd

2011-09-04 Thread xinyou yan
2011/9/4 suvayu ali : > Hi Xinyou, > > On Sun, Sep 4, 2011 at 4:53 PM, xinyou yan wrote: >>> I am not sure what the problem is. >>> The following works for me: >>> tar cf archive.tar first >>> tar -rf archive.tar second >> Yes it can , But ta

Re: [fedora] dd

2011-09-04 Thread xinyou yan
> I am not sure what the problem is. > The following works for me: > tar cf archive.tar first > tar -rf archive.tar second Yes it can , But tar czf tar rzf can't work Second : if I use gzip -c file1 >> yyy.test How can I unpress yyy.test to file1 as file1 I test like it gzip -c test1 > 1.test We

Re: [fedora] dd

2011-09-03 Thread xinyou yan
2011/9/3 Chris Tyler : > On Sat, 2011-09-03 at 20:36 +0800, xinyou yan wrote: >> I want to make sure one thing . >> Can I use tar to pack the file created by dd. >> I found use tar -rf xx.tar yyy.dd >> can't make the file into the tar file . > > It

[fedora] dd

2011-09-03 Thread xinyou yan
I want to make sure one thing . Can I use tar to pack the file created by dd. I found use tar -rf xx.tar yyy.dd can't make the file into the tar file . Can zip do this work ? -- 嘉谟之行 “昔我往矣,杨柳依依 ; 今我来思 ,雨雪霏霏”

Re: zip /gzip in bash

2011-08-31 Thread xinyou yan
Yes I can. Howerver I want to append another file in another time May be I need write a scitpt to do it . I just wonder , whether have a easy way to do it. 在 2011年8月31日 下午7:28,j.e.aneiros 写道: > 2011/8/31 xinyou yan >> >> HI: >> >> How can i use use gzip to com

Re: zip /gzip in bash

2011-08-31 Thread xinyou yan
e you could use tar with the z option to compress? > > Best regards, --janeiros. > On Tue, Aug 30, 2011 at 12:57 PM, xinyou yan wrote: >> >> Hi every one , >> >> I was confuse to use gzip in shell. >> You see below. I can use zip -gj make test.tar include t

zip /gzip in bash

2011-08-30 Thread xinyou yan
Hi every one , I was confuse to use gzip in shell. You see below. I can use zip -gj make test.tar include the testfile and the test1file However , use gzip make the test_gzip.tar.gz NULL. I see man and use gzip -c file >> tarname. to add a file to a tar file . Can anyone tell

Re: (unknown)

2011-03-17 Thread xinyou yan
I do the same with you .Where I can not mount still fdisk -l Device Boot Start End Blocks Id System /dev/sda1 * 1606592255936461199367 HPFS/NTFS /dev/sda292256255 459442934 183593340f W95 Ext'd (LBA) /dev/sda3 459442935 6251263

Re: (unknown)

2011-03-17 Thread xinyou yan
2011/3/17 JB : > xinyou yan gmail.com> writes: > >> >> I have a freebsd system. >> In my computer   /dev/sda10 is a freebsd slice. >> >> I use mount -t ufs /dev/sda10 /tmp >> It fail. >> ... > > Are you sure about that device name /dev/sda

[no subject]

2011-03-17 Thread xinyou yan
I have a freebsd system. In my computer /dev/sda10 is a freebsd slice. I use mount -t ufs /dev/sda10 /tmp It fail. mount: wrong fs type, bad option, bad superblock on /dev/sda10, missing codepage or helper program, or other error In some cases useful info is found in syslog - try

Re: execlp

2011-03-16 Thread xinyou yan
2011/3/16 Cameron Simpson : > On 16Mar2011 18:04, xinyou yan wrote: > |  Can execlp   exec  the function defined by myself? > > If your function is in an executable file, sure. Yes it is a function defined in the program. I will show something like a shell. It wait user to do wh

execlp

2011-03-16 Thread xinyou yan
Can execlp exec the function defined by myself? If not . how can i exec the functions whose name I want get from stdin? I just want to call the functions by input .not call them directly . -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription option

Re: rebuild kernel add syscall

2011-03-15 Thread xinyou yan
If I want to sleep until a event happened ? How can i do it in user mode. 2011/3/15 Joe Zeff : > On 03/14/2011 03:21 AM, Gilboa Davara wrote: >> As a general rule, using static parameters in kernel space is considered >> hazardous; nevertheless, a 128 bytes is relatively safe. > > Just make s

Re: rebuild kernel add syscall

2011-03-14 Thread xinyou yan
2011/3/14 Gilboa Davara : > On Sun, 2011-03-13 at 21:51 +0800, xinyou yan wrote: >> It is a homework . Use a kernel spcae as a char decieve >> Which can offer open write and so on. >> >> I just use a char buffer[128] in kernel space. >> > > As a general

Re: rebuild kernel add syscall

2011-03-13 Thread xinyou yan
filesystem . Can i use a file to simulate 。 It just not be taken as a file . Like something we store file in it. 2011/3/13 Gilboa Davara : > On Thu, 2011-03-10 at 15:17 +0800, xinyou yan wrote: >> I want to and a new syscall >> 1 add >> .long sys_mysyscall >>

Re: rebuild kernel add syscall

2011-03-09 Thread xinyou yan
I mean weather i can use sys_open in /kernel/sys.c Or how can i test it but i am in user space ? 2011/3/10 xinyou yan : > I want to and a new syscall > 1  add > .long sys_mysyscall > in        arch/x86/kernel/syscall_table_32.S > > 2    add >       #define   __NR

rebuild kernel add syscall

2011-03-09 Thread xinyou yan
I want to and a new syscall 1 add .long sys_mysyscall inarch/x86/kernel/syscall_table_32.S 2add #define __NR_mysyscall 341 inarch/x86/include/asm/unistd_32. 3.add asmlinkage int sys_mysyscall(char* sourceFile,char* destFile) { int source=sys_open(sourceFile,O_

gnome program

2011-03-08 Thread xinyou yan
I can use gcc -o xx xx `pkg-config --cflags --libs gtk+-2.0 ` Now I need to do some programs with gnome .Which need gnome.h I compiled like gcc gnome1.c -o gnome1 `pkg-config --cflags --libs libgnome-2.0 libgnomeui-2.0` Which shows: Package libgnome-2.0 was not found in the pkg-config se

tty rows colums

2011-03-08 Thread xinyou yan
I use gnome environment . The xterm has 80 columns and 24 rows While I enter Ctrl+Alt+F2 to use a whole scream for some edits. This tty has 180 columns and 56 rows. How can I resize it to 80 columns and 24 rows. Early I use some skills in grub , it works . Is there another way? -- users ma

Re: fedora5

2011-03-08 Thread xinyou yan
> > On Tue, Mar 8, 2011 at 19:31, xinyou yan wrote: >> >> 2011/3/8 bsfmig : >> > They are at: >> > http://archive.fedoraproject.org/pub/archive/fedora/linux/core/5/ >> > http://archive.fedoraproject.org/pub/archive/fedora/linux/extras/5/ >> >

Re: fedora5

2011-03-08 Thread xinyou yan
yum know the web > It is still strongly NOT recommended to use those legacy releases, > > On Tue, Mar 8, 2011 at 18:46, xinyou yan wrote: >> >> >From some reasons I need to use fedora5 >> >> I use virtualbox 4.0  install it from dvd >> >> I

fedora5

2011-03-08 Thread xinyou yan
>From some reasons I need to use fedora5 I use virtualbox 4.0 install it from dvd I can search internet now Howerver I use yum install The shell stop at Cannot find a valid baseurl for repo : core Error : Cannot find a valid baseurl for repo: core How can I install some software in fedor

Re: term.h curse.h

2011-03-08 Thread xinyou yan
thank you First I just do cc -o objectfile sourcefile it shows undefined reference to `setupterm' then i google and add -lncurse. It now works fine. 2011/3/8 Frank Cox : > On Tue, 08 Mar 2011 16:02:56 +0800 > xinyou yan wrote: > >> I didn't find ter

term.h curse.h

2011-03-08 Thread xinyou yan
I didn't find term.h and cures.h which i want to write some program about the terminal in fedora14 I think should install some libs . But I don't know the names precisely . I use I also find /usr/include -- users mailing list users@lists.fedoraproject.org To unsubscribe or change s

Re: trap in shell programming

2011-03-07 Thread xinyou yan
mming . 2011/3/7 Cameron Simpson : > On 07Mar2011 10:17, xinyou yan wrote: > | I want to know  when i use > | > | trap 'rm -f /tmp/my_tmp_file_$$'   INT > | > | why shell itself  capture the single  and she shellscript exit. > > But it doesn't! > >

trap in shell programming

2011-03-06 Thread xinyou yan
I want to know when i use trap 'rm -f /tmp/my_tmp_file_$$' INT why shell itself capture the single and she shellscript exit. Here is the code from << Beginning Programming>> #!/bin/sh trap 'rm -f /tmp/my_tmp_file_$$' INT echo creating file /tmp/my_tmp_file_$$ date > /tmp/my_tmp_file_$$

OS linux

2010-12-23 Thread xinyou yan
I am a student of computer science . Now we are learning the design of OS . We study Unix and do some homework on linux . I know some good books about with OS . May you guys can suggest more What i want to know nowis how to build a small OS (every things is done by myself or

Re: raid mdadm

2010-12-21 Thread xinyou yan
I can't rewrite any files . So i can't delete the last line of /etc/fstab 在 2010年12月22日 下午1:58,xinyou yan 写道: > 2010/12/22 Sascha : >> Am 22.12.2010 06:30, schrieb xinyou yan: >>> >>> How can i fix the problem ? >>> >>> thank you >>

Re: raid mdadm

2010-12-21 Thread xinyou yan
2010/12/22 Sascha : > Am 22.12.2010 06:30, schrieb xinyou yan: >> >> How can i fix the problem ? >> >> thank you > > The raid-configuration must be stored in /etc/mdadm.conf > You can do this with > > mdadm --detail --scan >> /etc/mdadm/mdadm.conf &

Re: raid mdadm

2010-12-21 Thread xinyou yan
2010/12/22 Dennis Gilmore : > On Tuesday, December 21, 2010 11:30:16 pm xinyou yan wrote: >> First I add sdb sdc sde  fdisk to sdb1 sdc1 sdd1 sde1 >> then >> # mdadm --create --level=5 --raid-devices=4 /dev/sd{b,c,d,e}1 >> #mkdir /mnt/raid >> #mkfs.ext4 /dev/md0 &

raid mdadm

2010-12-21 Thread xinyou yan
First I add sdb sdc sde fdisk to sdb1 sdc1 sdd1 sde1 then # mdadm --create --level=5 --raid-devices=4 /dev/sd{b,c,d,e}1 #mkdir /mnt/raid #mkfs.ext4 /dev/md0 #vi /etc/fstab add /dev/md0 /mnt/raid ext4 defaults 1 2 after reboot fsck.ext4: Invalid argument while trying to open 0 /dev/md0: The

Re: from 13 to 14

2010-12-14 Thread xinyou yan
t; Hello, > > I had the same problem when I tried to update from 13 to 14. > So, it is why I am still running fedora 13 > I will appreciate if the problem could be solved when updating. > > Thank. > >> On Tue, 14 Dec 2010 13:10:53 +0800 >> xinyou yan wrote: >> >

Re: from 13 to 14

2010-12-13 Thread xinyou yan
I reinstall f14 it works and the gnome like what you describe .. May be just update have some problems .. thank you 2010/12/13 xinyou yan : > by the way i am now in windows7 > > > >> Can you show the output of >> cat /etc/network-scripts/ifcfg-eth0 > > I c

Re: from 13 to 14

2010-12-12 Thread xinyou yan
by the way i am now in windows7 > Can you show the output of > cat /etc/network-scripts/ifcfg-eth0 I can't find /etc/network-scripts there have /etc/networks > > You are using NetworkManager and it seems to be working fine.  It seems > to be using dhcp to get an address for your system, an

Re: from 13 to 14

2010-12-12 Thread xinyou yan
complete. Dec 12 20:36:33 localhost nm-dispatcher.action: nm_dispatcher_action: Invalid connection: '(null)' / 'connection setting not found' invalid: 1 Beacuse i never meet the problem before . So i have no idea about the message thankyou 2010/12/12 stan : > On

from 13 to 14

2010-12-12 Thread xinyou yan
I just choose 13 upgrade to 14 when i use the dvd However , when i login I can't connect to the Internet theifconfig just show the message of " l0 " Does fedora 14 can't know my decives of NIC ? -- users mailing list users@lists.fedoraproject.org To unsubscribe or change

load mbr freebsd

2010-12-08 Thread xinyou yan
I know fedora can auto Identification windows and be able to load it who knows how fedora load freebsd ? should remake the kernel ? -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelin

Re: the console

2010-12-07 Thread xinyou yan
thank you i did what you say . it take effect ! because i use my own understanding to understand you suggestion before. anyway , thanks again 2010/12/4 Lamar Owen : > On Saturday, December 04, 2010 06:53:20 am xinyou yan wrote: >> hello  everyone >> >>      

Re: the console

2010-12-05 Thread xinyou yan
if i set to 1024 *768 the gnome will be blurred So Can I don,t change the mode , and made the char in terminal (not in X ) smaller ? thank you ! 2010/12/5 Suvayu Ali : > On 05/12/10 06:58 AM, xinyou yan wrote: >> add 'nomodeset' to the kernel ? Whether it need t

Re: the console

2010-12-04 Thread xinyou yan
add 'nomodeset' to the kernel ? Whether it need to remake the kernel or any other things 2010/12/5 xinyou yan : > why it related to the grub.conf > > I think  the char in shell is small  nothing with gdm . > > thank you > > > > > > 2010/12/4 Lam

Re: the console

2010-12-04 Thread xinyou yan
why it related to the grub.conf I think the char in shell is small nothing with gdm . thank you 2010/12/4 Lamar Owen : > On Saturday, December 04, 2010 06:53:20 am xinyou yan wrote: >> hello  everyone >> >>          I am new to fedora , After i set fedora start in le

the console

2010-12-04 Thread xinyou yan
hello everyone I am new to fedora , After i set fedora start in level 3 The char is so small . How i set /etc/??? to make it more big my display mode is 1440*900 Is display resolution 's problem ? Or some others ? thank you (Please forgive the difficult t