当前位置:  技术问答>linux和unix

where is linux启动脚本

    来源: 互联网  发布时间:2015-04-28

    本文导语:  我mount -t vfat /dev/hda5/ /mnt/vfat/ 每次加载后才能正确识别Windows分区的东西,有没有个  一劳永逸的方法?比方说把这个写到启动脚本里?应该写到哪里?  5 在某篇文章上看到:  # cp /var/qmail/boot/home /var/qmail/rc ...

我mount -t vfat /dev/hda5/ /mnt/vfat/ 每次加载后才能正确识别Windows分区的东西,有没有个 
一劳永逸的方法?比方说把这个写到启动脚本里?应该写到哪里? 

5 在某篇文章上看到: 
# cp /var/qmail/boot/home /var/qmail/rc 
 # chmod 755 /var/qmail/rc 

   編輯 /var/qmail/rc 
   修改其中 ./Mailbox 成為 ./Maildir ,如下: 

   # !/bin/sh 
   # Using splogger to send the log through syslog. 
   # Using qmail-local to deliver messages to ~/Maildir by default. 
   exec env - PATH="/var/qmail/bin:$PATH" 
   qmail-start ./Maildir splogger q 

   其中 splogger qmail 指令是用來將紀錄檔紀錄於 / 中。 
   建立樣板 
   $ /var/qmail/bin/maildirmake /etc/skel/Maildir 
   $ echo ./Maildir/ > ~/.qmail 
   注意 Maildir 必須為該使用者所有,可以 chown 變更,並以 chmod 700 Maildir 設定權限。 

请问建立样板是什么意识?在那建?是对/var/qmail/rc进行编辑?把下面的那段加上?

|
/etc/rc.d/rc.local

|
可以在磁盘配置文件中直接加上mount -t vfat /dev/hda5/ /mnt/vfat,开机就会自动把磁盘
挂到装入点

|
磁盘配置文件在那里?

|
修改/etc/fstab
加入一行
/dev/hda5       /mnt/WinD       vfat     codepage=936,iocharest=cp936 1 1
重启即可自动加载D盘
其它fat32格式的盘同样自动加载

    
 
 

您可能感兴趣的文章:

 
本站(WWW.)旨在分享和传播互联网科技相关的资讯和技术,将尽最大努力为读者提供更好的信息聚合和浏览方式。
本站(WWW.)站内文章除注明原创外,均为转载、整理或搜集自网络。欢迎任何形式的转载,转载请注明出处。












  • 相关文章推荐
  • please tell me where to download java for linux?
  • Mysql设置查询条件(where)查询字段为NULL
  • why can't i input chinese ? where? and how to do?
  • where can i download simsun, and how can i use it?
  • sql筛选记录的语句之where、having的区别
  • 高分求JDK原码!!!!!!!!!!!where?????
  • where is thinking in java to download??
  • where is the ChinaLCT?
  • Could you tell me how/where to get GDB guides?
  • Where to download exchage server 2000 from?
  • PHP MySQL Where子句学习
  • 语句: select * from table where name=string 怎样判断一条记录都没找到的情况。
  • sqlserver 多表关联时在where语句中慎用trim()方法
  • MYSQL where 1=1判定中的作用说明
  • SQL 中having 和where的区别分析
  • 数据库查询Where子句问题?
  • 链接到XXX.jsp?strSql=select * from table where field like '%%'时,因为参数strSql中有%,在服务器段解码不正确,是咋回事?
  • rs=statement.executeQuery("SELECT Name,PassWord,Position FROM names where Name="+UserName+" and PassWord="+UserPassWord"");错了
  • where is wxSmith plug of platform on Unix Like and windows ?
  • where I can see all of the questions instead of only hot topics!
  • MySQL 存储过程传参数实现where id in(1,2,3,...)示例
  • 关于Select Where In 的排序问题


  • 站内导航:


    特别声明:169IT网站部分信息来自互联网,如果侵犯您的权利,请及时告知,本站将立即删除!

    ©2012-2021,,E-mail:www_#163.com(请将#改为@)

    浙ICP备11055608号-3